SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001267s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003130s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001431s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.170' ) [ RunTime:0.002211s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001185s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.005280s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 601 LIMIT 1 [ RunTime:0.002486s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 601 [ RunTime:0.002863s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000250s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001610s ]
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.001174s ]
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.002745s ]
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.012511s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004202s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4029 LIMIT 4 [ RunTime:0.008004s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002079s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4029 ORDER BY `minOrder` ASC [ RunTime:0.006029s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006323s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4029 ORDER BY `unit` DESC [ RunTime:0.005354s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4029 LIMIT 2 [ RunTime:0.006307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4029 ORDER BY `minOrder` ASC [ RunTime:0.008433s ]
select * from pdf where partno='PP002062' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.024251s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001301s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PP002062' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.006384s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1322 LIMIT 4 [ RunTime:0.000445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1322 ORDER BY `minOrder` ASC [ RunTime:0.002891s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1322 ORDER BY `unit` DESC [ RunTime:0.011031s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1322 LIMIT 2 [ RunTime:0.003509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1322 ORDER BY `minOrder` ASC [ RunTime:0.004336s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TY523MR' OR `brand` LIKE 'ABB - THOMAS & BETTS%' ) ) LIMIT 1 [ RunTime:0.004449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16897 LIMIT 4 [ RunTime:0.007256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16897 ORDER BY `minOrder` ASC [ RunTime:0.000786s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16897 ORDER BY `unit` DESC [ RunTime:0.017393s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16897 LIMIT 2 [ RunTime:0.009291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16897 ORDER BY `minOrder` ASC [ RunTime:0.003709s ]
select * from pdf where partno='113-05019' and brandshort='HELLERMANNTYTON' limit 1 [ RunTime:0.005690s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.009616s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15878 LIMIT 4 [ RunTime:0.001544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15878 ORDER BY `minOrder` ASC [ RunTime:0.009427s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15878 ORDER BY `unit` DESC [ RunTime:0.000438s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15878 LIMIT 2 [ RunTime:0.000414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15878 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
select * from pdf where partno='113-05019' and brandshort='HELLERMANNTYTON' limit 1 [ RunTime:0.001398s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7011 LIMIT 4 [ RunTime:0.001982s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7011 ORDER BY `minOrder` ASC [ RunTime:0.001794s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7011 ORDER BY `unit` DESC [ RunTime:0.000582s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7011 LIMIT 2 [ RunTime:0.000510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7011 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VEL-EC60466' OR `brand` LIKE 'VELCRO%' ) ) LIMIT 1 [ RunTime:0.000804s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8697 LIMIT 4 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8697 ORDER BY `minOrder` ASC [ RunTime:0.005774s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8697 ORDER BY `unit` DESC [ RunTime:0.000425s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8697 LIMIT 2 [ RunTime:0.002460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8697 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NBB12' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.004321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13844 LIMIT 4 [ RunTime:0.001930s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13844 ORDER BY `minOrder` ASC [ RunTime:0.001853s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13844 ORDER BY `unit` DESC [ RunTime:0.001345s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13844 LIMIT 2 [ RunTime:0.000419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13844 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '111-01960' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000560s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4033 LIMIT 4 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4033 ORDER BY `minOrder` ASC [ RunTime:0.003580s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4033 ORDER BY `unit` DESC [ RunTime:0.004486s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4033 LIMIT 2 [ RunTime:0.002935s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4033 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT1M-M100' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.003476s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9980 LIMIT 4 [ RunTime:0.000362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9980 ORDER BY `minOrder` ASC [ RunTime:0.000906s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9980 ORDER BY `unit` DESC [ RunTime:0.000420s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9980 LIMIT 2 [ RunTime:0.000331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9980 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT2.5S-M' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.001311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13837 LIMIT 4 [ RunTime:0.000333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13837 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13837 ORDER BY `unit` DESC [ RunTime:0.000575s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13837 LIMIT 2 [ RunTime:0.003135s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13837 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4028 LIMIT 4 [ RunTime:0.002552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4028 ORDER BY `minOrder` ASC [ RunTime:0.004166s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4028 ORDER BY `unit` DESC [ RunTime:0.000809s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4028 LIMIT 2 [ RunTime:0.001321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4028 ORDER BY `minOrder` ASC [ RunTime:0.002800s ]
select * from pdf where partno='HC-1S' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.002053s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HC-1S' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.009792s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 127 LIMIT 4 [ RunTime:0.001543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 127 ORDER BY `minOrder` ASC [ RunTime:0.003344s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 127 ORDER BY `unit` DESC [ RunTime:0.000766s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 127 LIMIT 2 [ RunTime:0.000365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 127 ORDER BY `minOrder` ASC [ RunTime:0.000552s ]
select * from pdf where partno='ABM2S-A-C' and brandshort='PANDUIT' limit 1 [ RunTime:0.005049s ]
select foldpath,foldpath2,filename from pdf_file where id=2042215 limit 1 [ RunTime:0.004200s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABM2S-A-C' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.002119s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9984 LIMIT 4 [ RunTime:0.011303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9984 ORDER BY `minOrder` ASC [ RunTime:0.000589s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9984 ORDER BY `unit` DESC [ RunTime:0.003643s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9984 LIMIT 2 [ RunTime:0.001193s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9984 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TM2S8-M' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.002357s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5186 LIMIT 4 [ RunTime:0.000900s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5186 ORDER BY `minOrder` ASC [ RunTime:0.000917s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5186 ORDER BY `unit` DESC [ RunTime:0.000385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5186 LIMIT 2 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5186 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
select * from pdf where partno='MBMS-S10-MY' and brandshort='PANDUIT' limit 1 [ RunTime:0.002374s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MBMS-S10-MY' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.001837s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8150 LIMIT 4 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8150 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8150 ORDER BY `unit` DESC [ RunTime:0.001032s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8150 LIMIT 2 [ RunTime:0.000541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8150 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '118-04800.' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000833s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9983 LIMIT 4 [ RunTime:0.000407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9983 ORDER BY `minOrder` ASC [ RunTime:0.000852s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9983 ORDER BY `unit` DESC [ RunTime:0.001159s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9983 LIMIT 2 [ RunTime:0.001344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9983 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
select * from pdf where partno='ABMS-A-D' and brandshort='PANDUIT' limit 1 [ RunTime:0.005641s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABMS-A-D' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.010429s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13838 LIMIT 4 [ RunTime:0.015517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13838 ORDER BY `minOrder` ASC [ RunTime:0.006886s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13838 ORDER BY `unit` DESC [ RunTime:0.012748s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13838 LIMIT 2 [ RunTime:0.005548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13838 ORDER BY `minOrder` ASC [ RunTime:0.002851s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '151-28119' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.001912s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4288 LIMIT 4 [ RunTime:0.002446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4288 ORDER BY `minOrder` ASC [ RunTime:0.005945s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4288 ORDER BY `unit` DESC [ RunTime:0.001403s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4288 LIMIT 2 [ RunTime:0.013675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4288 ORDER BY `minOrder` ASC [ RunTime:0.012589s ]
select * from pdf where partno='PLT1M-C76' and brandshort='PANDUIT' limit 1 [ RunTime:0.015836s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT1M-C76' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.008954s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9981 LIMIT 4 [ RunTime:0.001872s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9981 ORDER BY `minOrder` ASC [ RunTime:0.019473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9981 ORDER BY `unit` DESC [ RunTime:0.005736s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9981 LIMIT 2 [ RunTime:0.002762s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9981 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLWP1SB-D' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.005076s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9827 LIMIT 4 [ RunTime:0.007317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9827 ORDER BY `minOrder` ASC [ RunTime:0.017316s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9827 ORDER BY `unit` DESC [ RunTime:0.028317s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9827 LIMIT 2 [ RunTime:0.014121s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9827 ORDER BY `minOrder` ASC [ RunTime:0.005007s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1212609' OR `brand` LIKE 'PHOENIX CONTACT%' ) ) LIMIT 1 [ RunTime:0.023705s ]
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.015449s ]