SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.003348s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.010429s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002124s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.133' ) [ RunTime:0.011957s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002033s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.012044s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 490 LIMIT 1 [ RunTime:0.011509s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 490 [ RunTime:0.019597s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 43 [ RunTime:0.002872s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002460s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 490 ) AND `u`.`lockUser` = '0' [ RunTime:0.031768s ]
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 AND `categoryid` = 490 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047500s ]
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 ('1097','169','2438','168','15225','15120','2445','4465','13382','5755','1252','9574','9572') ORDER BY FIELD(s.id, 1097,169,2438,168,15225,15120,2445,4465,13382,5755,1252,9574,9572) [ RunTime:0.113292s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001363s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1097 LIMIT 4 [ RunTime:0.010566s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.008801s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1097 ORDER BY `minOrder` ASC [ RunTime:0.005795s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001085s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1097 ORDER BY `unit` DESC [ RunTime:0.012813s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001294s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1097 LIMIT 2 [ RunTime:0.016957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1097 ORDER BY `minOrder` ASC [ RunTime:0.008105s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003102s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PKLCS1212E4001-R1' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.018367s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 169 LIMIT 4 [ RunTime:0.014621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 169 ORDER BY `minOrder` ASC [ RunTime:0.030256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 169 ORDER BY `unit` DESC [ RunTime:0.052007s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 169 LIMIT 2 [ RunTime:0.024587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 169 ORDER BY `minOrder` ASC [ RunTime:0.003784s ]
select * from pdf where partno='ABI-009-RC' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.019366s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABI-009-RC' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.015689s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2438 LIMIT 4 [ RunTime:0.009465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2438 ORDER BY `minOrder` ASC [ RunTime:0.019822s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2438 ORDER BY `unit` DESC [ RunTime:0.017575s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2438 LIMIT 2 [ RunTime:0.015215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2438 ORDER BY `minOrder` ASC [ RunTime:0.001719s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KPEG242' OR `brand` LIKE 'KINGSTATE%' ) ) LIMIT 1 [ RunTime:0.014710s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 168 LIMIT 4 [ RunTime:0.002757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 168 ORDER BY `minOrder` ASC [ RunTime:0.018944s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 168 ORDER BY `unit` DESC [ RunTime:0.009226s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 168 LIMIT 2 [ RunTime:0.006551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 168 ORDER BY `minOrder` ASC [ RunTime:0.006285s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABI-001-RC' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.030726s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15225 LIMIT 4 [ RunTime:0.024571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15225 ORDER BY `minOrder` ASC [ RunTime:0.024456s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15225 ORDER BY `unit` DESC [ RunTime:0.004481s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15225 LIMIT 2 [ RunTime:0.005690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15225 ORDER BY `minOrder` ASC [ RunTime:0.001225s ]
select * from pdf where partno='ABI-001-RC' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.005981s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABI-001-RC' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.002265s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15120 LIMIT 4 [ RunTime:0.007933s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15120 ORDER BY `minOrder` ASC [ RunTime:0.019720s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15120 ORDER BY `unit` DESC [ RunTime:0.003316s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15120 LIMIT 2 [ RunTime:0.004279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15120 ORDER BY `minOrder` ASC [ RunTime:0.005638s ]
select * from pdf where partno='ABI-001-RC' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.003980s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABI-001-RC' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.002683s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2445 LIMIT 4 [ RunTime:0.005828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2445 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2445 ORDER BY `unit` DESC [ RunTime:0.000683s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2445 LIMIT 2 [ RunTime:0.000521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2445 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
select * from pdf where partno='ABI-017-RC' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.004338s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABI-017-RC' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.007864s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4465 LIMIT 4 [ RunTime:0.009652s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4465 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4465 ORDER BY `unit` DESC [ RunTime:0.000591s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4465 LIMIT 2 [ RunTime:0.005192s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4465 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AI-1440-TWT-12V-R' OR `brand` LIKE 'PROJECTS UNLIMITED%' ) ) LIMIT 1 [ RunTime:0.003756s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13382 LIMIT 4 [ RunTime:0.007267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13382 ORDER BY `minOrder` ASC [ RunTime:0.013020s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13382 ORDER BY `unit` DESC [ RunTime:0.009717s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13382 LIMIT 2 [ RunTime:0.016806s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13382 ORDER BY `minOrder` ASC [ RunTime:0.000541s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '10901075' OR `brand` LIKE 'WERMA%' ) ) LIMIT 1 [ RunTime:0.006746s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5755 LIMIT 4 [ RunTime:0.019439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5755 ORDER BY `minOrder` ASC [ RunTime:0.008249s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5755 ORDER BY `unit` DESC [ RunTime:0.000740s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5755 LIMIT 2 [ RunTime:0.005145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5755 ORDER BY `minOrder` ASC [ RunTime:0.004255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KXG1212C' OR `brand` LIKE 'KINGSTATE%' ) ) LIMIT 1 [ RunTime:0.014839s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1252 LIMIT 4 [ RunTime:0.008584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1252 ORDER BY `minOrder` ASC [ RunTime:0.003275s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1252 ORDER BY `unit` DESC [ RunTime:0.009618s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1252 LIMIT 2 [ RunTime:0.016802s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1252 ORDER BY `minOrder` ASC [ RunTime:0.003961s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '15010055' OR `brand` LIKE 'WERMA%' ) ) LIMIT 1 [ RunTime:0.009055s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9574 LIMIT 4 [ RunTime:0.005581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9574 ORDER BY `minOrder` ASC [ RunTime:0.024783s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9574 ORDER BY `unit` DESC [ RunTime:0.002830s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9574 LIMIT 2 [ RunTime:0.000861s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9574 ORDER BY `minOrder` ASC [ RunTime:0.009797s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31-801.002' OR `brand` LIKE 'EAO%' ) ) LIMIT 1 [ RunTime:0.001110s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9572 LIMIT 4 [ RunTime:0.008787s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9572 ORDER BY `minOrder` ASC [ RunTime:0.022634s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9572 ORDER BY `unit` DESC [ RunTime:0.019782s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9572 LIMIT 2 [ RunTime:0.005549s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9572 ORDER BY `minOrder` ASC [ RunTime:0.007656s ]
select * from pdf where partno='LB6MZ-1T04' and brandshort='IDEC' limit 1 [ RunTime:0.036497s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LB6MZ-1T04' OR `brand` LIKE 'IDEC%' ) ) LIMIT 1 [ RunTime:0.009373s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 490 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.029378s ]