SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002023s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000509s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002060s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000296s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002242s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000273s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 293 LIMIT 1 [ RunTime:0.000326s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 293 [ RunTime:0.000215s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 30 [ RunTime:0.000214s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001993s ]
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.000823s ]
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.000625s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001910s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13800 LIMIT 4 [ RunTime:0.000256s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13800 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001618s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13800 ORDER BY `unit` DESC [ RunTime:0.000256s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001862s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13800 LIMIT 2 [ RunTime:0.000249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13800 ORDER BY `minOrder` ASC [ RunTime:0.000227s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001801s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFP201N-RA' OR `brand` LIKE 'KNITTER-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000256s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7171 LIMIT 4 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7171 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7171 ORDER BY `unit` DESC [ RunTime:0.000222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7171 LIMIT 2 [ RunTime:0.000220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7171 ORDER BY `minOrder` ASC [ RunTime:0.000221s ]
select * from pdf where partno='OS102011MA1QS1' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.001009s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OS102011MA1QS1' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000577s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15179 LIMIT 4 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15179 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15179 ORDER BY `unit` DESC [ RunTime:0.000330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15179 LIMIT 2 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15179 ORDER BY `minOrder` ASC [ RunTime:0.000621s ]
select * from pdf where partno='EG2308' and brandshort='E-SWITCH' limit 1 [ RunTime:0.000538s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EG2308' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000622s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15074 LIMIT 4 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15074 ORDER BY `minOrder` ASC [ RunTime:0.000433s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15074 ORDER BY `unit` DESC [ RunTime:0.000394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15074 LIMIT 2 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15074 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
select * from pdf where partno='EG2308' and brandshort='E-SWITCH' limit 1 [ RunTime:0.000422s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EG2308' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000404s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10219 LIMIT 4 [ RunTime:0.002196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10219 ORDER BY `minOrder` ASC [ RunTime:0.003965s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10219 ORDER BY `unit` DESC [ RunTime:0.000353s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10219 LIMIT 2 [ RunTime:0.000498s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10219 ORDER BY `minOrder` ASC [ RunTime:0.001578s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAS-D20B.' OR `brand` LIKE 'NIDEC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1978 LIMIT 4 [ RunTime:0.000312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1978 ORDER BY `minOrder` ASC [ RunTime:0.004390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1978 ORDER BY `unit` DESC [ RunTime:0.003142s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1978 LIMIT 2 [ RunTime:0.000464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1978 ORDER BY `minOrder` ASC [ RunTime:0.002301s ]
select * from pdf where partno='1103M2S3CQE2' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.000456s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1103M2S3CQE2' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000370s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9791 LIMIT 4 [ RunTime:0.000348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9791 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9791 ORDER BY `unit` DESC [ RunTime:0.000332s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9791 LIMIT 2 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9791 ORDER BY `minOrder` ASC [ RunTime:0.001960s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CL-SB-22B-11T' OR `brand` LIKE 'NIDEC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000340s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9697 LIMIT 4 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9697 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9697 ORDER BY `unit` DESC [ RunTime:0.000318s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9697 LIMIT 2 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9697 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
select * from pdf where partno='EG2308' and brandshort='E-SWITCH' limit 1 [ RunTime:0.000400s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EG2308' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.001245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10213 LIMIT 4 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10213 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10213 ORDER BY `unit` DESC [ RunTime:0.000320s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10213 LIMIT 2 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10213 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
select * from pdf where partno='JS102011JCQN' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.000816s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'JS102011JCQN' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000347s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9792 LIMIT 4 [ RunTime:0.003264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9792 ORDER BY `minOrder` ASC [ RunTime:0.001701s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9792 ORDER BY `unit` DESC [ RunTime:0.006173s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9792 LIMIT 2 [ RunTime:0.000361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9792 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFS101D-14-Z' OR `brand` LIKE 'NIDEC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000361s ]
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.000389s ]