SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001935s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000721s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001367s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000232s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000943s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.002556s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 544 LIMIT 1 [ RunTime:0.000427s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 544 [ RunTime:0.000298s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000180s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003050s ]
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` = 544 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006135s ]
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 ('16971','15953','8419','8514','8417','8418','8415','8414','8412','10870','8272') ORDER BY FIELD(s.id, 16971,15953,8419,8514,8417,8418,8415,8414,8412,10870,8272) [ RunTime:0.003763s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002042s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16971 LIMIT 4 [ RunTime:0.006191s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002091s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16971 ORDER BY `minOrder` ASC [ RunTime:0.000791s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001675s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16971 ORDER BY `unit` DESC [ RunTime:0.002214s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001334s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16971 LIMIT 2 [ RunTime:0.000526s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16971 ORDER BY `minOrder` ASC [ RunTime:0.000213s ]
select * from pdf where partno='WD 1000 CN' and brandshort='WELLER' limit 1 [ RunTime:0.001773s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002518s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WD 1000 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.005270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15953 LIMIT 4 [ RunTime:0.000637s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15953 ORDER BY `minOrder` ASC [ RunTime:0.000924s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15953 ORDER BY `unit` DESC [ RunTime:0.001718s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15953 LIMIT 2 [ RunTime:0.007000s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15953 ORDER BY `minOrder` ASC [ RunTime:0.001564s ]
select * from pdf where partno='WD 1000 CN' and brandshort='WELLER' limit 1 [ RunTime:0.000579s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WD 1000 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8419 LIMIT 4 [ RunTime:0.000564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8419 ORDER BY `minOrder` ASC [ RunTime:0.001030s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8419 ORDER BY `unit` DESC [ RunTime:0.001141s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8419 LIMIT 2 [ RunTime:0.007903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8419 ORDER BY `minOrder` ASC [ RunTime:0.002916s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WSD 71 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.001600s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8514 LIMIT 4 [ RunTime:0.004200s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8514 ORDER BY `minOrder` ASC [ RunTime:0.009889s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8514 ORDER BY `unit` DESC [ RunTime:0.010130s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8514 LIMIT 2 [ RunTime:0.005776s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8514 ORDER BY `minOrder` ASC [ RunTime:0.003787s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WS 81 EU' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.009829s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8417 LIMIT 4 [ RunTime:0.010223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8417 ORDER BY `minOrder` ASC [ RunTime:0.000662s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8417 ORDER BY `unit` DESC [ RunTime:0.000852s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8417 LIMIT 2 [ RunTime:0.000570s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8417 ORDER BY `minOrder` ASC [ RunTime:0.001414s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WX 2020 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.004680s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8418 LIMIT 4 [ RunTime:0.002280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8418 ORDER BY `minOrder` ASC [ RunTime:0.000611s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8418 ORDER BY `unit` DESC [ RunTime:0.000567s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8418 LIMIT 2 [ RunTime:0.000956s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8418 ORDER BY `minOrder` ASC [ RunTime:0.003805s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WSD 121 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.001292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8415 LIMIT 4 [ RunTime:0.000651s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8415 ORDER BY `minOrder` ASC [ RunTime:0.003518s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8415 ORDER BY `unit` DESC [ RunTime:0.002527s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8415 LIMIT 2 [ RunTime:0.001992s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8415 ORDER BY `minOrder` ASC [ RunTime:0.000438s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WSD 151 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000758s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8414 LIMIT 4 [ RunTime:0.000539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8414 ORDER BY `minOrder` ASC [ RunTime:0.000505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8414 ORDER BY `unit` DESC [ RunTime:0.005781s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8414 LIMIT 2 [ RunTime:0.000911s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8414 ORDER BY `minOrder` ASC [ RunTime:0.002025s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WD 1000 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000368s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8412 LIMIT 4 [ RunTime:0.000504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8412 ORDER BY `minOrder` ASC [ RunTime:0.000981s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8412 ORDER BY `unit` DESC [ RunTime:0.000582s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8412 LIMIT 2 [ RunTime:0.000484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8412 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WT 1010H' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.004662s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10870 LIMIT 4 [ RunTime:0.002415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10870 ORDER BY `minOrder` ASC [ RunTime:0.003780s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10870 ORDER BY `unit` DESC [ RunTime:0.000935s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10870 LIMIT 2 [ RunTime:0.009752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10870 ORDER BY `minOrder` ASC [ RunTime:0.009342s ]
select * from pdf where partno='MP740068' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.012789s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP740068' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.009030s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8272 LIMIT 4 [ RunTime:0.007790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8272 ORDER BY `minOrder` ASC [ RunTime:0.000745s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8272 ORDER BY `unit` DESC [ RunTime:0.000579s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8272 LIMIT 2 [ RunTime:0.001782s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8272 ORDER BY `minOrder` ASC [ RunTime:0.000631s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D01841' OR `brand` LIKE 'DURATOOL%' ) ) LIMIT 1 [ RunTime:0.001088s ]
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.002731s ]