SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001341s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000402s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001527s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000229s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001479s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000225s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 293 LIMIT 1 [ RunTime:0.000329s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 293 [ RunTime:0.000166s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 30 [ RunTime:0.000163s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001410s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 293 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000786s ]
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 IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('13800','7171','15179','15074','10219','1978','9791','9697','10213','9792') ORDER BY FIELD(s.id, 13800,7171,15179,15074,10219,1978,9791,9697,10213,9792) [ RunTime:0.000958s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001129s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13800 LIMIT 4 [ RunTime:0.000189s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001055s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13800 ORDER BY `minOrder` ASC [ RunTime:0.000221s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001236s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13800 ORDER BY `unit` DESC [ RunTime:0.000193s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001037s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13800 LIMIT 2 [ RunTime:0.000183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13800 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001412s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFP201N-RA' OR `brand` LIKE 'KNITTER-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000211s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7171 LIMIT 4 [ RunTime:0.000177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7171 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7171 ORDER BY `unit` DESC [ RunTime:0.000185s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7171 LIMIT 2 [ RunTime:0.000173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7171 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
select * from pdf where partno='OS102011MA1QS1' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.000216s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OS102011MA1QS1' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000199s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15179 LIMIT 4 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15179 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15179 ORDER BY `unit` DESC [ RunTime:0.000178s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15179 LIMIT 2 [ RunTime:0.000169s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15179 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
select * from pdf where partno='EG2308' and brandshort='E-SWITCH' limit 1 [ RunTime:0.000213s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EG2308' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15074 LIMIT 4 [ RunTime:0.000167s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15074 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15074 ORDER BY `unit` DESC [ RunTime:0.000174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15074 LIMIT 2 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15074 ORDER BY `minOrder` ASC [ RunTime:0.000172s ]
select * from pdf where partno='EG2308' and brandshort='E-SWITCH' limit 1 [ RunTime:0.000214s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EG2308' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000178s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10219 LIMIT 4 [ RunTime:0.002043s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10219 ORDER BY `minOrder` ASC [ RunTime:0.001402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10219 ORDER BY `unit` DESC [ RunTime:0.001147s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10219 LIMIT 2 [ RunTime:0.000297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10219 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAS-D20B.' OR `brand` LIKE 'NIDEC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000634s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1978 LIMIT 4 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1978 ORDER BY `minOrder` ASC [ RunTime:0.001745s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1978 ORDER BY `unit` DESC [ RunTime:0.002661s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1978 LIMIT 2 [ RunTime:0.002836s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1978 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
select * from pdf where partno='1103M2S3CQE2' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.003227s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1103M2S3CQE2' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000760s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9791 LIMIT 4 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9791 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9791 ORDER BY `unit` DESC [ RunTime:0.001363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9791 LIMIT 2 [ RunTime:0.002549s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9791 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CL-SB-22B-11T' OR `brand` LIKE 'NIDEC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.003807s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9697 LIMIT 4 [ RunTime:0.002212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9697 ORDER BY `minOrder` ASC [ RunTime:0.001901s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9697 ORDER BY `unit` DESC [ RunTime:0.001606s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9697 LIMIT 2 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9697 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
select * from pdf where partno='EG2308' and brandshort='E-SWITCH' limit 1 [ RunTime:0.000255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EG2308' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000185s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10213 LIMIT 4 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10213 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10213 ORDER BY `unit` DESC [ RunTime:0.003939s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10213 LIMIT 2 [ RunTime:0.003176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10213 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
select * from pdf where partno='JS102011JCQN' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.004419s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'JS102011JCQN' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000800s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9792 LIMIT 4 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9792 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9792 ORDER BY `unit` DESC [ RunTime:0.001228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9792 LIMIT 2 [ RunTime:0.002617s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9792 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFS101D-14-Z' OR `brand` LIKE 'NIDEC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.004082s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 293 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002801s ]