SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002237s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000484s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002441s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.188' ) [ RunTime:0.000410s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002316s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000353s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 544 LIMIT 1 [ RunTime:0.000898s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 544 [ RunTime:0.000276s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000280s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002679s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 544 ) [ RunTime:0.000987s ]
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` = 544 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003587s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16971 LIMIT 4 [ RunTime:0.000613s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002611s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16971 ORDER BY `minOrder` ASC [ RunTime:0.001088s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001697s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16971 ORDER BY `unit` DESC [ RunTime:0.000653s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001721s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16971 LIMIT 2 [ RunTime:0.000495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16971 ORDER BY `minOrder` ASC [ RunTime:0.001450s ]
select * from pdf where partno='WD 1000 CN' and brandshort='WELLER' limit 1 [ RunTime:0.001769s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001297s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WD 1000 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.001528s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15953 LIMIT 4 [ RunTime:0.000546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15953 ORDER BY `minOrder` ASC [ RunTime:0.000593s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15953 ORDER BY `unit` DESC [ RunTime:0.001645s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15953 LIMIT 2 [ RunTime:0.000469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15953 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
select * from pdf where partno='WD 1000 CN' and brandshort='WELLER' limit 1 [ RunTime:0.000332s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WD 1000 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8419 LIMIT 4 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8419 ORDER BY `minOrder` ASC [ RunTime:0.001132s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8419 ORDER BY `unit` DESC [ RunTime:0.000390s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8419 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8419 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WSD 71 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000923s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8514 LIMIT 4 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8514 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8514 ORDER BY `unit` DESC [ RunTime:0.000621s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8514 LIMIT 2 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8514 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WS 81 EU' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000728s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8417 LIMIT 4 [ RunTime:0.001232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8417 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8417 ORDER BY `unit` DESC [ RunTime:0.000329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8417 LIMIT 2 [ RunTime:0.000838s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8417 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WX 2020 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000724s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8418 LIMIT 4 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8418 ORDER BY `minOrder` ASC [ RunTime:0.001151s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8418 ORDER BY `unit` DESC [ RunTime:0.000450s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8418 LIMIT 2 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8418 ORDER BY `minOrder` ASC [ RunTime:0.000755s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WSD 121 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000780s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8415 LIMIT 4 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8415 ORDER BY `minOrder` ASC [ RunTime:0.000325s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8415 ORDER BY `unit` DESC [ RunTime:0.000714s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8415 LIMIT 2 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8415 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WSD 151 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000385s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8414 LIMIT 4 [ RunTime:0.000745s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8414 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8414 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8414 LIMIT 2 [ RunTime:0.000537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8414 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WD 1000 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000253s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8412 LIMIT 4 [ RunTime:0.002058s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8412 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8412 ORDER BY `unit` DESC [ RunTime:0.001563s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8412 LIMIT 2 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8412 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WT 1010H' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000658s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10870 LIMIT 4 [ RunTime:0.000564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10870 ORDER BY `minOrder` ASC [ RunTime:0.000813s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10870 ORDER BY `unit` DESC [ RunTime:0.000328s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10870 LIMIT 2 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10870 ORDER BY `minOrder` ASC [ RunTime:0.000425s ]
select * from pdf where partno='MP740068' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001122s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP740068' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001564s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8272 LIMIT 4 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8272 ORDER BY `minOrder` ASC [ RunTime:0.002226s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8272 ORDER BY `unit` DESC [ RunTime:0.000692s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8272 LIMIT 2 [ RunTime:0.001969s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8272 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D01841' OR `brand` LIKE 'DURATOOL%' ) ) LIMIT 1 [ RunTime:0.000755s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 544 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000629s ]