SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001314s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001454s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001235s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000219s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000866s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000183s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 544 LIMIT 1 [ RunTime:0.000262s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 544 [ RunTime:0.000149s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000156s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001097s ]
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.000206s ]
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.000597s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000885s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16971 LIMIT 4 [ RunTime:0.002193s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16971 ORDER BY `minOrder` ASC [ RunTime:0.000502s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000796s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16971 ORDER BY `unit` DESC [ RunTime:0.000313s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000825s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16971 LIMIT 2 [ RunTime:0.000612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16971 ORDER BY `minOrder` ASC [ RunTime:0.000159s ]
select * from pdf where partno='WD 1000 CN' and brandshort='WELLER' limit 1 [ RunTime:0.003459s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000864s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WD 1000 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000747s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15953 LIMIT 4 [ RunTime:0.000497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15953 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15953 ORDER BY `unit` DESC [ RunTime:0.000246s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15953 LIMIT 2 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15953 ORDER BY `minOrder` ASC [ RunTime:0.006077s ]
select * from pdf where partno='WD 1000 CN' and brandshort='WELLER' limit 1 [ RunTime:0.000281s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WD 1000 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000169s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8419 LIMIT 4 [ RunTime:0.000290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8419 ORDER BY `minOrder` ASC [ RunTime:0.004708s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8419 ORDER BY `unit` DESC [ RunTime:0.003608s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8419 LIMIT 2 [ RunTime:0.001388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8419 ORDER BY `minOrder` ASC [ RunTime:0.003804s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WSD 71 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000574s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8514 LIMIT 4 [ RunTime:0.002001s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8514 ORDER BY `minOrder` ASC [ RunTime:0.002021s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8514 ORDER BY `unit` DESC [ RunTime:0.004135s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8514 LIMIT 2 [ RunTime:0.004935s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8514 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WS 81 EU' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000590s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8417 LIMIT 4 [ RunTime:0.000742s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8417 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8417 ORDER BY `unit` DESC [ RunTime:0.000355s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8417 LIMIT 2 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8417 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WX 2020 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.002971s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8418 LIMIT 4 [ RunTime:0.006839s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8418 ORDER BY `minOrder` ASC [ RunTime:0.002044s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8418 ORDER BY `unit` DESC [ RunTime:0.002279s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8418 LIMIT 2 [ RunTime:0.001258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8418 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WSD 121 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000571s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8415 LIMIT 4 [ RunTime:0.000454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8415 ORDER BY `minOrder` ASC [ RunTime:0.002519s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8415 ORDER BY `unit` DESC [ RunTime:0.003307s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8415 LIMIT 2 [ RunTime:0.000709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8415 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WSD 151 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000510s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8414 LIMIT 4 [ RunTime:0.002091s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8414 ORDER BY `minOrder` ASC [ RunTime:0.000449s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8414 ORDER BY `unit` DESC [ RunTime:0.000354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8414 LIMIT 2 [ RunTime:0.000750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8414 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WD 1000 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8412 LIMIT 4 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8412 ORDER BY `minOrder` ASC [ RunTime:0.001091s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8412 ORDER BY `unit` DESC [ RunTime:0.000343s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8412 LIMIT 2 [ RunTime:0.003366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8412 ORDER BY `minOrder` ASC [ RunTime:0.001399s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WT 1010H' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000581s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10870 LIMIT 4 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10870 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10870 ORDER BY `unit` DESC [ RunTime:0.004110s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10870 LIMIT 2 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10870 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
select * from pdf where partno='MP740068' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001950s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP740068' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001931s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8272 LIMIT 4 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8272 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8272 ORDER BY `unit` DESC [ RunTime:0.000387s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8272 LIMIT 2 [ RunTime:0.000361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8272 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D01841' OR `brand` LIKE 'DURATOOL%' ) ) LIMIT 1 [ RunTime:0.000643s ]
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.000335s ]