SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002150s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000566s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002328s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000358s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002002s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000293s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 293 LIMIT 1 [ RunTime:0.000314s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 293 [ RunTime:0.000223s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 30 [ RunTime:0.000219s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002030s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 293 ) [ RunTime:0.000842s ]
SELECT `s`.`id`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 293 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000856s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13800 LIMIT 4 [ RunTime:0.000711s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13800 ORDER BY `minOrder` ASC [ RunTime:0.001394s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000828s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13800 ORDER BY `unit` DESC [ RunTime:0.000179s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000779s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13800 LIMIT 2 [ RunTime:0.000161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13800 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000806s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFP201N-RA' OR `brand` LIKE 'KNITTER-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7171 LIMIT 4 [ RunTime:0.000283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7171 ORDER BY `minOrder` ASC [ RunTime:0.001670s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7171 ORDER BY `unit` DESC [ RunTime:0.001451s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7171 LIMIT 2 [ RunTime:0.000270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7171 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
select * from pdf where partno='OS102011MA1QS1' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.003420s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OS102011MA1QS1' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.007079s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15179 LIMIT 4 [ RunTime:0.001334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15179 ORDER BY `minOrder` ASC [ RunTime:0.000558s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15179 ORDER BY `unit` DESC [ RunTime:0.000307s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15179 LIMIT 2 [ RunTime:0.000231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15179 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
select * from pdf where partno='EG2308' and brandshort='E-SWITCH' limit 1 [ RunTime:0.000226s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EG2308' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15074 LIMIT 4 [ RunTime:0.001704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15074 ORDER BY `minOrder` ASC [ RunTime:0.001631s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15074 ORDER BY `unit` DESC [ RunTime:0.000239s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15074 LIMIT 2 [ RunTime:0.000218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15074 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
select * from pdf where partno='EG2308' and brandshort='E-SWITCH' limit 1 [ RunTime:0.000245s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EG2308' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000275s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10219 LIMIT 4 [ RunTime:0.000450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10219 ORDER BY `minOrder` ASC [ RunTime:0.000389s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10219 ORDER BY `unit` DESC [ RunTime:0.000254s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10219 LIMIT 2 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10219 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAS-D20B.' OR `brand` LIKE 'NIDEC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000228s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1978 LIMIT 4 [ RunTime:0.000418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1978 ORDER BY `minOrder` ASC [ RunTime:0.000473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1978 ORDER BY `unit` DESC [ RunTime:0.006598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1978 LIMIT 2 [ RunTime:0.000225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1978 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
select * from pdf where partno='1103M2S3CQE2' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.000248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1103M2S3CQE2' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9791 LIMIT 4 [ RunTime:0.000432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9791 ORDER BY `minOrder` ASC [ RunTime:0.001414s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9791 ORDER BY `unit` DESC [ RunTime:0.000250s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9791 LIMIT 2 [ RunTime:0.000220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9791 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CL-SB-22B-11T' OR `brand` LIKE 'NIDEC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000229s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9697 LIMIT 4 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9697 ORDER BY `minOrder` ASC [ RunTime:0.001662s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9697 ORDER BY `unit` DESC [ RunTime:0.000240s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9697 LIMIT 2 [ RunTime:0.000218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9697 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
select * from pdf where partno='EG2308' and brandshort='E-SWITCH' limit 1 [ RunTime:0.000232s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EG2308' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000228s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10213 LIMIT 4 [ RunTime:0.001623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10213 ORDER BY `minOrder` ASC [ RunTime:0.000447s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10213 ORDER BY `unit` DESC [ RunTime:0.000232s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10213 LIMIT 2 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10213 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
select * from pdf where partno='JS102011JCQN' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.000224s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'JS102011JCQN' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9792 LIMIT 4 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9792 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9792 ORDER BY `unit` DESC [ RunTime:0.000235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9792 LIMIT 2 [ RunTime:0.000230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9792 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFS101D-14-Z' OR `brand` LIKE 'NIDEC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000228s ]
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.000946s ]