SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001376s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000499s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001380s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.001395s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001055s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.002529s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 601 LIMIT 1 [ RunTime:0.003360s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 601 [ RunTime:0.000309s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000194s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001360s ]
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.003594s ]
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.000984s ]
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.004752s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001169s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4029 LIMIT 4 [ RunTime:0.000311s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4029 ORDER BY `minOrder` ASC [ RunTime:0.003505s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001023s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4029 ORDER BY `unit` DESC [ RunTime:0.009080s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003275s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4029 LIMIT 2 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4029 ORDER BY `minOrder` ASC [ RunTime:0.000194s ]
select * from pdf where partno='PP002062' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001395s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002226s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PP002062' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.004812s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1322 LIMIT 4 [ RunTime:0.004715s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1322 ORDER BY `minOrder` ASC [ RunTime:0.003825s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1322 ORDER BY `unit` DESC [ RunTime:0.002625s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1322 LIMIT 2 [ RunTime:0.004815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1322 ORDER BY `minOrder` ASC [ RunTime:0.000674s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TY523MR' OR `brand` LIKE 'ABB - THOMAS & BETTS%' ) ) LIMIT 1 [ RunTime:0.006540s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16897 LIMIT 4 [ RunTime:0.002709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16897 ORDER BY `minOrder` ASC [ RunTime:0.001701s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16897 ORDER BY `unit` DESC [ RunTime:0.001453s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16897 LIMIT 2 [ RunTime:0.000587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16897 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
select * from pdf where partno='113-05019' and brandshort='HELLERMANNTYTON' limit 1 [ RunTime:0.001663s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.012258s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15878 LIMIT 4 [ RunTime:0.003578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15878 ORDER BY `minOrder` ASC [ RunTime:0.002754s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15878 ORDER BY `unit` DESC [ RunTime:0.000928s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15878 LIMIT 2 [ RunTime:0.000499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15878 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
select * from pdf where partno='113-05019' and brandshort='HELLERMANNTYTON' limit 1 [ RunTime:0.000681s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000360s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7011 LIMIT 4 [ RunTime:0.000688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7011 ORDER BY `minOrder` ASC [ RunTime:0.002944s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7011 ORDER BY `unit` DESC [ RunTime:0.005832s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7011 LIMIT 2 [ RunTime:0.009853s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7011 ORDER BY `minOrder` ASC [ RunTime:0.000886s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VEL-EC60466' OR `brand` LIKE 'VELCRO%' ) ) LIMIT 1 [ RunTime:0.001059s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8697 LIMIT 4 [ RunTime:0.001761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8697 ORDER BY `minOrder` ASC [ RunTime:0.000945s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8697 ORDER BY `unit` DESC [ RunTime:0.001605s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8697 LIMIT 2 [ RunTime:0.000683s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8697 ORDER BY `minOrder` ASC [ RunTime:0.000325s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NBB12' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.003186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13844 LIMIT 4 [ RunTime:0.000587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13844 ORDER BY `minOrder` ASC [ RunTime:0.000738s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13844 ORDER BY `unit` DESC [ RunTime:0.000526s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13844 LIMIT 2 [ RunTime:0.000599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13844 ORDER BY `minOrder` ASC [ RunTime:0.000427s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '111-01960' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000811s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4033 LIMIT 4 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4033 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4033 ORDER BY `unit` DESC [ RunTime:0.000730s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4033 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4033 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT1M-M100' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.002406s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9980 LIMIT 4 [ RunTime:0.001035s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9980 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9980 ORDER BY `unit` DESC [ RunTime:0.000290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9980 LIMIT 2 [ RunTime:0.000247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9980 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT2.5S-M' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.000262s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13837 LIMIT 4 [ RunTime:0.000385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13837 ORDER BY `minOrder` ASC [ RunTime:0.002532s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13837 ORDER BY `unit` DESC [ RunTime:0.001438s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13837 LIMIT 2 [ RunTime:0.004335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13837 ORDER BY `minOrder` ASC [ RunTime:0.003017s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4028 LIMIT 4 [ RunTime:0.001817s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4028 ORDER BY `minOrder` ASC [ RunTime:0.001811s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4028 ORDER BY `unit` DESC [ RunTime:0.000536s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4028 LIMIT 2 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4028 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
select * from pdf where partno='HC-1S' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001549s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HC-1S' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.005746s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 127 LIMIT 4 [ RunTime:0.008000s ]
SELECT * FROM `stock_price` WHERE `stockid` = 127 ORDER BY `minOrder` ASC [ RunTime:0.001937s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 127 ORDER BY `unit` DESC [ RunTime:0.003840s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 127 LIMIT 2 [ RunTime:0.006198s ]
SELECT * FROM `stock_price` WHERE `stockid` = 127 ORDER BY `minOrder` ASC [ RunTime:0.008654s ]
select * from pdf where partno='ABM2S-A-C' and brandshort='PANDUIT' limit 1 [ RunTime:0.013947s ]
select foldpath,foldpath2,filename from pdf_file where id=2042215 limit 1 [ RunTime:0.005797s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABM2S-A-C' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.005122s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9984 LIMIT 4 [ RunTime:0.002553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9984 ORDER BY `minOrder` ASC [ RunTime:0.008612s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9984 ORDER BY `unit` DESC [ RunTime:0.010547s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9984 LIMIT 2 [ RunTime:0.001275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9984 ORDER BY `minOrder` ASC [ RunTime:0.001813s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TM2S8-M' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.007850s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5186 LIMIT 4 [ RunTime:0.000562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5186 ORDER BY `minOrder` ASC [ RunTime:0.001835s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5186 ORDER BY `unit` DESC [ RunTime:0.000527s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5186 LIMIT 2 [ RunTime:0.000598s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5186 ORDER BY `minOrder` ASC [ RunTime:0.002821s ]
select * from pdf where partno='MBMS-S10-MY' and brandshort='PANDUIT' limit 1 [ RunTime:0.008808s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MBMS-S10-MY' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.010442s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8150 LIMIT 4 [ RunTime:0.004700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8150 ORDER BY `minOrder` ASC [ RunTime:0.002098s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8150 ORDER BY `unit` DESC [ RunTime:0.001581s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8150 LIMIT 2 [ RunTime:0.000480s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8150 ORDER BY `minOrder` ASC [ RunTime:0.000325s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '118-04800.' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.001029s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9983 LIMIT 4 [ RunTime:0.002125s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9983 ORDER BY `minOrder` ASC [ RunTime:0.003780s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9983 ORDER BY `unit` DESC [ RunTime:0.000690s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9983 LIMIT 2 [ RunTime:0.003038s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9983 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
select * from pdf where partno='ABMS-A-D' and brandshort='PANDUIT' limit 1 [ RunTime:0.003975s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABMS-A-D' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.026582s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13838 LIMIT 4 [ RunTime:0.003752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13838 ORDER BY `minOrder` ASC [ RunTime:0.000712s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13838 ORDER BY `unit` DESC [ RunTime:0.005228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13838 LIMIT 2 [ RunTime:0.003083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13838 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '151-28119' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.001354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4288 LIMIT 4 [ RunTime:0.007823s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4288 ORDER BY `minOrder` ASC [ RunTime:0.006632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4288 ORDER BY `unit` DESC [ RunTime:0.012680s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4288 LIMIT 2 [ RunTime:0.003574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4288 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
select * from pdf where partno='PLT1M-C76' and brandshort='PANDUIT' limit 1 [ RunTime:0.001940s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT1M-C76' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.010545s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9981 LIMIT 4 [ RunTime:0.005051s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9981 ORDER BY `minOrder` ASC [ RunTime:0.008702s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9981 ORDER BY `unit` DESC [ RunTime:0.001251s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9981 LIMIT 2 [ RunTime:0.002160s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9981 ORDER BY `minOrder` ASC [ RunTime:0.002854s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLWP1SB-D' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.008174s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9827 LIMIT 4 [ RunTime:0.003646s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9827 ORDER BY `minOrder` ASC [ RunTime:0.003161s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9827 ORDER BY `unit` DESC [ RunTime:0.014718s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9827 LIMIT 2 [ RunTime:0.010857s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9827 ORDER BY `minOrder` ASC [ RunTime:0.000971s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1212609' OR `brand` LIKE 'PHOENIX CONTACT%' ) ) LIMIT 1 [ RunTime:0.004813s ]
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.000851s ]