SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001059s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000479s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001102s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000256s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001127s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000253s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 544 LIMIT 1 [ RunTime:0.000237s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 544 [ RunTime:0.000176s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000187s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001261s ]
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.004433s ]
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.001635s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000993s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16971 LIMIT 4 [ RunTime:0.000252s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000786s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16971 ORDER BY `minOrder` ASC [ RunTime:0.009323s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004119s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16971 ORDER BY `unit` DESC [ RunTime:0.012166s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000963s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16971 LIMIT 2 [ RunTime:0.003533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16971 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
select * from pdf where partno='WD 1000 CN' and brandshort='WELLER' limit 1 [ RunTime:0.001545s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001830s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WD 1000 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.001085s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15953 LIMIT 4 [ RunTime:0.000489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15953 ORDER BY `minOrder` ASC [ RunTime:0.014175s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15953 ORDER BY `unit` DESC [ RunTime:0.007822s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15953 LIMIT 2 [ RunTime:0.022671s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15953 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
select * from pdf where partno='WD 1000 CN' and brandshort='WELLER' limit 1 [ RunTime:0.000313s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WD 1000 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000267s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8419 LIMIT 4 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8419 ORDER BY `minOrder` ASC [ RunTime:0.000515s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8419 ORDER BY `unit` DESC [ RunTime:0.000366s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8419 LIMIT 2 [ RunTime:0.001021s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8419 ORDER BY `minOrder` ASC [ RunTime:0.002065s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WSD 71 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000857s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8514 LIMIT 4 [ RunTime:0.003947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8514 ORDER BY `minOrder` ASC [ RunTime:0.006604s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8514 ORDER BY `unit` DESC [ RunTime:0.005263s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8514 LIMIT 2 [ RunTime:0.002178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8514 ORDER BY `minOrder` ASC [ RunTime:0.002438s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WS 81 EU' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000909s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8417 LIMIT 4 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8417 ORDER BY `minOrder` ASC [ RunTime:0.001349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8417 ORDER BY `unit` DESC [ RunTime:0.000498s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8417 LIMIT 2 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8417 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WX 2020 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000264s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8418 LIMIT 4 [ RunTime:0.001164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8418 ORDER BY `minOrder` ASC [ RunTime:0.000829s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8418 ORDER BY `unit` DESC [ RunTime:0.002788s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8418 LIMIT 2 [ RunTime:0.003867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8418 ORDER BY `minOrder` ASC [ RunTime:0.000437s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WSD 121 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.001393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8415 LIMIT 4 [ RunTime:0.002872s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8415 ORDER BY `minOrder` ASC [ RunTime:0.001874s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8415 ORDER BY `unit` DESC [ RunTime:0.001664s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8415 LIMIT 2 [ RunTime:0.005633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8415 ORDER BY `minOrder` ASC [ RunTime:0.006321s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WSD 151 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000666s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8414 LIMIT 4 [ RunTime:0.001163s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8414 ORDER BY `minOrder` ASC [ RunTime:0.003534s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8414 ORDER BY `unit` DESC [ RunTime:0.018366s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8414 LIMIT 2 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8414 ORDER BY `minOrder` ASC [ RunTime:0.008664s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WD 1000 CN' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.001796s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8412 LIMIT 4 [ RunTime:0.000962s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8412 ORDER BY `minOrder` ASC [ RunTime:0.002483s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8412 ORDER BY `unit` DESC [ RunTime:0.004482s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8412 LIMIT 2 [ RunTime:0.002726s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8412 ORDER BY `minOrder` ASC [ RunTime:0.000412s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'WT 1010H' OR `brand` LIKE 'WELLER%' ) ) LIMIT 1 [ RunTime:0.000739s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10870 LIMIT 4 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10870 ORDER BY `minOrder` ASC [ RunTime:0.005148s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10870 ORDER BY `unit` DESC [ RunTime:0.006160s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10870 LIMIT 2 [ RunTime:0.004934s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10870 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
select * from pdf where partno='MP740068' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.002077s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP740068' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.019292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8272 LIMIT 4 [ RunTime:0.003790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8272 ORDER BY `minOrder` ASC [ RunTime:0.001260s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8272 ORDER BY `unit` DESC [ RunTime:0.000780s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8272 LIMIT 2 [ RunTime:0.012290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8272 ORDER BY `minOrder` ASC [ RunTime:0.000420s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D01841' OR `brand` LIKE 'DURATOOL%' ) ) LIMIT 1 [ RunTime:0.003000s ]
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.002984s ]