SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001836s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000638s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001651s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000298s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001303s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000280s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000244s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000192s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000426s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001662s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.884907s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 9980,20 [ RunTime:0.050158s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND `s`.`id` IN ('14641','437','10501348','13801','3510','10443748','10433769','10476','9147','9018','828','10617','4709','10446969','6467','71','10509120','10504680','6238','6969') ORDER BY FIELD(s.id, 14641,437,10501348,13801,3510,10443748,10433769,10476,9147,9018,828,10617,4709,10446969,6467,71,10509120,10504680,6238,6969) [ RunTime:0.002661s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14641 LIMIT 4 [ RunTime:0.000779s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001065s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14641 ORDER BY `minOrder` ASC [ RunTime:0.000489s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001068s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14641 ORDER BY `unit` DESC [ RunTime:0.000913s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001323s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14641 LIMIT 2 [ RunTime:0.000724s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14641 ORDER BY `minOrder` ASC [ RunTime:0.001103s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001104s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9155005003016' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.003609s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 437 LIMIT 4 [ RunTime:0.002377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 437 ORDER BY `minOrder` ASC [ RunTime:0.003520s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 437 ORDER BY `unit` DESC [ RunTime:0.002362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 437 LIMIT 2 [ RunTime:0.003013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 437 ORDER BY `minOrder` ASC [ RunTime:0.002509s ]
select * from pdf where partno='1658686-4' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.002999s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1658686-4' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.006002s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10501348 LIMIT 4 [ RunTime:0.007623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10501348 ORDER BY `minOrder` ASC [ RunTime:0.006431s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10501348 ORDER BY `unit` DESC [ RunTime:0.004197s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10501348 LIMIT 2 [ RunTime:0.001713s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10501348 ORDER BY `minOrder` ASC [ RunTime:0.003086s ]
select * from pdf where partno='CC45SL3JD100JYVNA' and brandshort='TDK Corporation' limit 1 [ RunTime:0.004549s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13801 LIMIT 4 [ RunTime:0.007244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13801 ORDER BY `minOrder` ASC [ RunTime:0.001078s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13801 ORDER BY `unit` DESC [ RunTime:0.000668s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13801 LIMIT 2 [ RunTime:0.000758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13801 ORDER BY `minOrder` ASC [ RunTime:0.000786s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MICA06' OR `brand` LIKE 'LUMBERG%' ) ) LIMIT 1 [ RunTime:0.000441s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3510 LIMIT 4 [ RunTime:0.000594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3510 ORDER BY `minOrder` ASC [ RunTime:0.001967s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3510 ORDER BY `unit` DESC [ RunTime:0.002836s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3510 LIMIT 2 [ RunTime:0.001745s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3510 ORDER BY `minOrder` ASC [ RunTime:0.001645s ]
select * from pdf where partno='TSR 1-2450' and brandshort='TRACO POWER' limit 1 [ RunTime:0.003770s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSR 1-2450' OR `brand` LIKE 'TRACO POWER%' ) ) LIMIT 1 [ RunTime:0.002595s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10443748 LIMIT 4 [ RunTime:0.005862s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10443748 ORDER BY `minOrder` ASC [ RunTime:0.002564s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10443748 ORDER BY `unit` DESC [ RunTime:0.001930s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10443748 LIMIT 2 [ RunTime:0.002184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10443748 ORDER BY `minOrder` ASC [ RunTime:0.003588s ]
select * from pdf where partno='CKG45KX7T2W474M290JH' and brandshort='TDK Corporation' limit 1 [ RunTime:0.003961s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10433769 LIMIT 4 [ RunTime:0.005472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10433769 ORDER BY `minOrder` ASC [ RunTime:0.001097s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10433769 ORDER BY `unit` DESC [ RunTime:0.004249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10433769 LIMIT 2 [ RunTime:0.002467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10433769 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
select * from pdf where partno='CGJ5L2X7R1H684K160AA' and brandshort='TDK Corporation' limit 1 [ RunTime:0.002139s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10476 LIMIT 4 [ RunTime:0.002700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10476 ORDER BY `minOrder` ASC [ RunTime:0.000653s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10476 ORDER BY `unit` DESC [ RunTime:0.000564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10476 LIMIT 2 [ RunTime:0.000555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10476 ORDER BY `minOrder` ASC [ RunTime:0.000586s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CL10B105KA8NNNC' OR `brand` LIKE 'SAMSUNG ELECTRO-MECHANICS%' ) ) LIMIT 1 [ RunTime:0.000679s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9147 LIMIT 4 [ RunTime:0.000578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9147 ORDER BY `minOrder` ASC [ RunTime:0.001042s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9147 ORDER BY `unit` DESC [ RunTime:0.000551s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9147 LIMIT 2 [ RunTime:0.000536s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9147 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SZBZX84B5V1LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.013008s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9018 LIMIT 4 [ RunTime:0.000540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9018 ORDER BY `minOrder` ASC [ RunTime:0.000945s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9018 ORDER BY `unit` DESC [ RunTime:0.000333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9018 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9018 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '105133-0001' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000348s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 828 LIMIT 4 [ RunTime:0.000527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 828 ORDER BY `minOrder` ASC [ RunTime:0.000874s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 828 ORDER BY `unit` DESC [ RunTime:0.000543s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 828 LIMIT 2 [ RunTime:0.000944s ]
SELECT * FROM `stock_price` WHERE `stockid` = 828 ORDER BY `minOrder` ASC [ RunTime:0.000700s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCF0805R-392KBT1' OR `brand` LIKE 'TT ELECTRONICS / WELWYN%' ) ) LIMIT 1 [ RunTime:0.000976s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10617 LIMIT 4 [ RunTime:0.000793s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10617 ORDER BY `minOrder` ASC [ RunTime:0.000802s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10617 ORDER BY `unit` DESC [ RunTime:0.000641s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10617 LIMIT 2 [ RunTime:0.002150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10617 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSC059N04LS6ATMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011574s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4709 LIMIT 4 [ RunTime:0.000626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4709 ORDER BY `minOrder` ASC [ RunTime:0.001703s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4709 ORDER BY `unit` DESC [ RunTime:0.001190s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4709 LIMIT 2 [ RunTime:0.000737s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4709 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '282110-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.020414s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10446969 LIMIT 4 [ RunTime:0.002070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10446969 ORDER BY `minOrder` ASC [ RunTime:0.003253s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10446969 ORDER BY `unit` DESC [ RunTime:0.000639s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10446969 LIMIT 2 [ RunTime:0.001642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10446969 ORDER BY `minOrder` ASC [ RunTime:0.003809s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6467 LIMIT 4 [ RunTime:0.000662s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6467 ORDER BY `minOrder` ASC [ RunTime:0.000921s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6467 ORDER BY `unit` DESC [ RunTime:0.000620s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6467 LIMIT 2 [ RunTime:0.001561s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6467 ORDER BY `minOrder` ASC [ RunTime:0.003845s ]
select * from pdf where partno='CRGH1206F680R' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.002564s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRGH1206F680R' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.021430s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 71 LIMIT 4 [ RunTime:0.004417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71 ORDER BY `minOrder` ASC [ RunTime:0.000463s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 71 ORDER BY `unit` DESC [ RunTime:0.000367s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 71 LIMIT 2 [ RunTime:0.000351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 71 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
select * from pdf where partno='B72220S0271K101' and brandshort='EPCOS' limit 1 [ RunTime:0.001841s ]
select foldpath,foldpath2,filename from pdf_file where id=566343 limit 1 [ RunTime:0.002114s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B72220S0271K101' OR `brand` LIKE 'EPCOS%' ) ) LIMIT 1 [ RunTime:0.002911s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10509120 LIMIT 4 [ RunTime:0.000757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10509120 ORDER BY `minOrder` ASC [ RunTime:0.000586s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10509120 ORDER BY `unit` DESC [ RunTime:0.000358s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10509120 LIMIT 2 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10509120 ORDER BY `minOrder` ASC [ RunTime:0.001518s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10504680 LIMIT 4 [ RunTime:0.002025s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10504680 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10504680 ORDER BY `unit` DESC [ RunTime:0.001504s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10504680 LIMIT 2 [ RunTime:0.003635s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10504680 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6238 LIMIT 4 [ RunTime:0.001008s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6238 ORDER BY `minOrder` ASC [ RunTime:0.003046s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6238 ORDER BY `unit` DESC [ RunTime:0.000392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6238 LIMIT 2 [ RunTime:0.006122s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6238 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '175855-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000663s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6969 LIMIT 4 [ RunTime:0.003587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6969 ORDER BY `minOrder` ASC [ RunTime:0.000475s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6969 ORDER BY `unit` DESC [ RunTime:0.000363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6969 LIMIT 2 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6969 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
select * from pdf where partno='LPS3015-222MRB' and brandshort='COILCRAFT' limit 1 [ RunTime:0.003298s ]
select foldpath,foldpath2,filename from pdf_file where id=1618664 limit 1 [ RunTime:0.006498s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPS3015-222MRB' OR `brand` LIKE 'COILCRAFT%' ) ) LIMIT 1 [ RunTime:0.001781s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.293732s ]