SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001207s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000485s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001628s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000369s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002168s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000340s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 601 LIMIT 1 [ RunTime:0.000357s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 601 [ RunTime:0.000265s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000271s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002342s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 601 ) AND `u`.`lockUser` = '0' [ RunTime:0.003811s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 601 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004622s ]
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 = 1) ) AND `s`.`id` IN ('4029','1322','16897','15878','7011','8697','13844','4033','9980','13837','4028','127','9984','5186','8150','9983','13838','4288','9981','9827') ORDER BY FIELD(s.id, 4029,1322,16897,15878,7011,8697,13844,4033,9980,13837,4028,127,9984,5186,8150,9983,13838,4288,9981,9827) [ RunTime:0.007857s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001187s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4029 LIMIT 4 [ RunTime:0.002291s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4029 ORDER BY `minOrder` ASC [ RunTime:0.007801s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002477s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4029 ORDER BY `unit` DESC [ RunTime:0.002050s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000815s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4029 LIMIT 2 [ RunTime:0.001343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4029 ORDER BY `minOrder` ASC [ RunTime:0.000172s ]
select * from pdf where partno='PP002062' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001199s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000907s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PP002062' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001633s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1322 LIMIT 4 [ RunTime:0.002361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1322 ORDER BY `minOrder` ASC [ RunTime:0.004118s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1322 ORDER BY `unit` DESC [ RunTime:0.001671s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1322 LIMIT 2 [ RunTime:0.004594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1322 ORDER BY `minOrder` ASC [ RunTime:0.000164s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TY523MR' OR `brand` LIKE 'ABB - THOMAS & BETTS%' ) ) LIMIT 1 [ RunTime:0.001298s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16897 LIMIT 4 [ RunTime:0.000741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16897 ORDER BY `minOrder` ASC [ RunTime:0.000469s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16897 ORDER BY `unit` DESC [ RunTime:0.000288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16897 LIMIT 2 [ RunTime:0.000226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16897 ORDER BY `minOrder` ASC [ RunTime:0.001919s ]
select * from pdf where partno='113-05019' and brandshort='HELLERMANNTYTON' limit 1 [ RunTime:0.000938s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.001108s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15878 LIMIT 4 [ RunTime:0.002719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15878 ORDER BY `minOrder` ASC [ RunTime:0.005770s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15878 ORDER BY `unit` DESC [ RunTime:0.000951s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15878 LIMIT 2 [ RunTime:0.000637s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15878 ORDER BY `minOrder` ASC [ RunTime:0.000159s ]
select * from pdf where partno='113-05019' and brandshort='HELLERMANNTYTON' limit 1 [ RunTime:0.000290s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000210s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7011 LIMIT 4 [ RunTime:0.001271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7011 ORDER BY `minOrder` ASC [ RunTime:0.000502s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7011 ORDER BY `unit` DESC [ RunTime:0.000347s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7011 LIMIT 2 [ RunTime:0.001223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7011 ORDER BY `minOrder` ASC [ RunTime:0.002617s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VEL-EC60466' OR `brand` LIKE 'VELCRO%' ) ) LIMIT 1 [ RunTime:0.001819s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8697 LIMIT 4 [ RunTime:0.005950s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8697 ORDER BY `minOrder` ASC [ RunTime:0.002651s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8697 ORDER BY `unit` DESC [ RunTime:0.000688s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8697 LIMIT 2 [ RunTime:0.000475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8697 ORDER BY `minOrder` ASC [ RunTime:0.000187s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NBB12' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.000721s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13844 LIMIT 4 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13844 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13844 ORDER BY `unit` DESC [ RunTime:0.001394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13844 LIMIT 2 [ RunTime:0.001457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13844 ORDER BY `minOrder` ASC [ RunTime:0.000855s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '111-01960' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000525s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4033 LIMIT 4 [ RunTime:0.004291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4033 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4033 ORDER BY `unit` DESC [ RunTime:0.000288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4033 LIMIT 2 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4033 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT1M-M100' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.002298s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9980 LIMIT 4 [ RunTime:0.000445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9980 ORDER BY `minOrder` ASC [ RunTime:0.002639s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9980 ORDER BY `unit` DESC [ RunTime:0.001911s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9980 LIMIT 2 [ RunTime:0.001592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9980 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT2.5S-M' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.001650s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13837 LIMIT 4 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13837 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13837 ORDER BY `unit` DESC [ RunTime:0.000413s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13837 LIMIT 2 [ RunTime:0.006690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13837 ORDER BY `minOrder` ASC [ RunTime:0.001520s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000297s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4028 LIMIT 4 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4028 ORDER BY `minOrder` ASC [ RunTime:0.000491s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4028 ORDER BY `unit` DESC [ RunTime:0.002341s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4028 LIMIT 2 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4028 ORDER BY `minOrder` ASC [ RunTime:0.002126s ]
select * from pdf where partno='HC-1S' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.002092s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HC-1S' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.002380s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 127 LIMIT 4 [ RunTime:0.001954s ]
SELECT * FROM `stock_price` WHERE `stockid` = 127 ORDER BY `minOrder` ASC [ RunTime:0.002133s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 127 ORDER BY `unit` DESC [ RunTime:0.001492s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 127 LIMIT 2 [ RunTime:0.000340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 127 ORDER BY `minOrder` ASC [ RunTime:0.000160s ]
select * from pdf where partno='ABM2S-A-C' and brandshort='PANDUIT' limit 1 [ RunTime:0.003448s ]
select foldpath,foldpath2,filename from pdf_file where id=2042215 limit 1 [ RunTime:0.004011s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABM2S-A-C' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.002763s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9984 LIMIT 4 [ RunTime:0.000694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9984 ORDER BY `minOrder` ASC [ RunTime:0.000740s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9984 ORDER BY `unit` DESC [ RunTime:0.000583s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9984 LIMIT 2 [ RunTime:0.000238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9984 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TM2S8-M' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.001521s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5186 LIMIT 4 [ RunTime:0.001420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5186 ORDER BY `minOrder` ASC [ RunTime:0.002738s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5186 ORDER BY `unit` DESC [ RunTime:0.002478s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5186 LIMIT 2 [ RunTime:0.000713s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5186 ORDER BY `minOrder` ASC [ RunTime:0.001963s ]
select * from pdf where partno='MBMS-S10-MY' and brandshort='PANDUIT' limit 1 [ RunTime:0.001540s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MBMS-S10-MY' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.004724s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8150 LIMIT 4 [ RunTime:0.001680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8150 ORDER BY `minOrder` ASC [ RunTime:0.001499s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8150 ORDER BY `unit` DESC [ RunTime:0.000472s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8150 LIMIT 2 [ RunTime:0.000403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8150 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '118-04800.' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000866s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9983 LIMIT 4 [ RunTime:0.002496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9983 ORDER BY `minOrder` ASC [ RunTime:0.004075s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9983 ORDER BY `unit` DESC [ RunTime:0.000405s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9983 LIMIT 2 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9983 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
select * from pdf where partno='ABMS-A-D' and brandshort='PANDUIT' limit 1 [ RunTime:0.003758s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABMS-A-D' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.003231s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13838 LIMIT 4 [ RunTime:0.000769s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13838 ORDER BY `minOrder` ASC [ RunTime:0.000435s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13838 ORDER BY `unit` DESC [ RunTime:0.000410s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13838 LIMIT 2 [ RunTime:0.000421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13838 ORDER BY `minOrder` ASC [ RunTime:0.001748s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '151-28119' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.002544s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4288 LIMIT 4 [ RunTime:0.000727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4288 ORDER BY `minOrder` ASC [ RunTime:0.000742s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4288 ORDER BY `unit` DESC [ RunTime:0.000477s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4288 LIMIT 2 [ RunTime:0.009977s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4288 ORDER BY `minOrder` ASC [ RunTime:0.003495s ]
select * from pdf where partno='PLT1M-C76' and brandshort='PANDUIT' limit 1 [ RunTime:0.001382s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT1M-C76' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.006259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9981 LIMIT 4 [ RunTime:0.003578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9981 ORDER BY `minOrder` ASC [ RunTime:0.010949s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9981 ORDER BY `unit` DESC [ RunTime:0.017467s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9981 LIMIT 2 [ RunTime:0.004866s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9981 ORDER BY `minOrder` ASC [ RunTime:0.003563s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLWP1SB-D' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.003168s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9827 LIMIT 4 [ RunTime:0.000632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9827 ORDER BY `minOrder` ASC [ RunTime:0.005105s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9827 ORDER BY `unit` DESC [ RunTime:0.000649s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9827 LIMIT 2 [ RunTime:0.000552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9827 ORDER BY `minOrder` ASC [ RunTime:0.000777s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1212609' OR `brand` LIKE 'PHOENIX CONTACT%' ) ) LIMIT 1 [ RunTime:0.010359s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 601 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001457s ]