SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002767s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000579s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002131s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000303s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001867s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000323s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 601 LIMIT 1 [ RunTime:0.000294s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 601 [ RunTime:0.000242s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000271s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002133s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 601 ) [ RunTime:0.000339s ]
SELECT `s`.`id`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 601 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000418s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002138s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4029 LIMIT 4 [ RunTime:0.000280s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4029 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002214s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4029 ORDER BY `unit` DESC [ RunTime:0.002598s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002054s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4029 LIMIT 2 [ RunTime:0.002716s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4029 ORDER BY `minOrder` ASC [ RunTime:0.005213s ]
select * from pdf where partno='PP002062' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000518s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001453s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PP002062' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000585s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1322 LIMIT 4 [ RunTime:0.000304s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1322 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1322 ORDER BY `unit` DESC [ RunTime:0.000301s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1322 LIMIT 2 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1322 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TY523MR' OR `brand` LIKE 'ABB - THOMAS & BETTS%' ) ) LIMIT 1 [ RunTime:0.000306s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16897 LIMIT 4 [ RunTime:0.000296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16897 ORDER BY `minOrder` ASC [ RunTime:0.000285s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16897 ORDER BY `unit` DESC [ RunTime:0.000283s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16897 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16897 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
select * from pdf where partno='113-05019' and brandshort='HELLERMANNTYTON' limit 1 [ RunTime:0.000548s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000411s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15878 LIMIT 4 [ RunTime:0.000251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15878 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15878 ORDER BY `unit` DESC [ RunTime:0.000236s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15878 LIMIT 2 [ RunTime:0.000572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15878 ORDER BY `minOrder` ASC [ RunTime:0.000426s ]
select * from pdf where partno='113-05019' and brandshort='HELLERMANNTYTON' limit 1 [ RunTime:0.000487s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7011 LIMIT 4 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7011 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7011 ORDER BY `unit` DESC [ RunTime:0.000380s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7011 LIMIT 2 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7011 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VEL-EC60466' OR `brand` LIKE 'VELCRO%' ) ) LIMIT 1 [ RunTime:0.000259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8697 LIMIT 4 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8697 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8697 ORDER BY `unit` DESC [ RunTime:0.000241s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8697 LIMIT 2 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8697 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NBB12' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.000267s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13844 LIMIT 4 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13844 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13844 ORDER BY `unit` DESC [ RunTime:0.000252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13844 LIMIT 2 [ RunTime:0.000246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13844 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '111-01960' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000305s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4033 LIMIT 4 [ RunTime:0.000238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4033 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4033 ORDER BY `unit` DESC [ RunTime:0.000239s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4033 LIMIT 2 [ RunTime:0.000245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4033 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT1M-M100' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.000264s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9980 LIMIT 4 [ RunTime:0.000238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9980 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9980 ORDER BY `unit` DESC [ RunTime:0.000239s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9980 LIMIT 2 [ RunTime:0.000263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9980 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT2.5S-M' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.000245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13837 LIMIT 4 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13837 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13837 ORDER BY `unit` DESC [ RunTime:0.000237s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13837 LIMIT 2 [ RunTime:0.000302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13837 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000244s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4028 LIMIT 4 [ RunTime:0.000236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4028 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4028 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4028 LIMIT 2 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4028 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
select * from pdf where partno='HC-1S' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000339s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HC-1S' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 127 LIMIT 4 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 127 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 127 ORDER BY `unit` DESC [ RunTime:0.000244s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 127 LIMIT 2 [ RunTime:0.000238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 127 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
select * from pdf where partno='ABM2S-A-C' and brandshort='PANDUIT' limit 1 [ RunTime:0.000295s ]
select foldpath,foldpath2,filename from pdf_file where id=2042215 limit 1 [ RunTime:0.000247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABM2S-A-C' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.000302s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9984 LIMIT 4 [ RunTime:0.000249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9984 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9984 ORDER BY `unit` DESC [ RunTime:0.000246s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9984 LIMIT 2 [ RunTime:0.000250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9984 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TM2S8-M' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.000151s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5186 LIMIT 4 [ RunTime:0.000143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5186 ORDER BY `minOrder` ASC [ RunTime:0.000143s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5186 ORDER BY `unit` DESC [ RunTime:0.000146s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5186 LIMIT 2 [ RunTime:0.000148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5186 ORDER BY `minOrder` ASC [ RunTime:0.000143s ]
select * from pdf where partno='MBMS-S10-MY' and brandshort='PANDUIT' limit 1 [ RunTime:0.000182s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MBMS-S10-MY' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.000162s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8150 LIMIT 4 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8150 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8150 ORDER BY `unit` DESC [ RunTime:0.000174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8150 LIMIT 2 [ RunTime:0.000149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8150 ORDER BY `minOrder` ASC [ RunTime:0.000142s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '118-04800.' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000149s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9983 LIMIT 4 [ RunTime:0.000141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9983 ORDER BY `minOrder` ASC [ RunTime:0.000145s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9983 ORDER BY `unit` DESC [ RunTime:0.000144s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9983 LIMIT 2 [ RunTime:0.000143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9983 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
select * from pdf where partno='ABMS-A-D' and brandshort='PANDUIT' limit 1 [ RunTime:0.000213s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABMS-A-D' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.000182s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13838 LIMIT 4 [ RunTime:0.000148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13838 ORDER BY `minOrder` ASC [ RunTime:0.000146s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13838 ORDER BY `unit` DESC [ RunTime:0.000144s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13838 LIMIT 2 [ RunTime:0.000143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13838 ORDER BY `minOrder` ASC [ RunTime:0.000144s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '151-28119' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000150s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4288 LIMIT 4 [ RunTime:0.000149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4288 ORDER BY `minOrder` ASC [ RunTime:0.000164s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4288 ORDER BY `unit` DESC [ RunTime:0.000184s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4288 LIMIT 2 [ RunTime:0.000172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4288 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
select * from pdf where partno='PLT1M-C76' and brandshort='PANDUIT' limit 1 [ RunTime:0.000175s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT1M-C76' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.000150s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9981 LIMIT 4 [ RunTime:0.000145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9981 ORDER BY `minOrder` ASC [ RunTime:0.000146s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9981 ORDER BY `unit` DESC [ RunTime:0.000145s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9981 LIMIT 2 [ RunTime:0.000142s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9981 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLWP1SB-D' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.000179s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9827 LIMIT 4 [ RunTime:0.000171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9827 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9827 ORDER BY `unit` DESC [ RunTime:0.000144s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9827 LIMIT 2 [ RunTime:0.000143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9827 ORDER BY `minOrder` ASC [ RunTime:0.000141s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1212609' OR `brand` LIKE 'PHOENIX CONTACT%' ) ) LIMIT 1 [ RunTime:0.000146s ]
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.000203s ]