SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001470s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000449s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001912s ]
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.001228s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000270s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000272s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000182s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000413s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001475s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'TMM-110-01-L-D-SM%' AND `status` <> 2 ) [ RunTime:0.001786s ]
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 ( `partno` LIKE 'TMM-110-01-L-D-SM%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003438s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002379s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6165355 LIMIT 4 [ RunTime:0.000932s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001857s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6165355 ORDER BY `minOrder` ASC [ RunTime:0.002092s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002225s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6165355 ORDER BY `unit` DESC [ RunTime:0.001629s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001841s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6165355 LIMIT 2 [ RunTime:0.000519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6165355 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
select * from pdf where partno='TMM-110-01-L-D-SM-A-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.002057s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5443444 LIMIT 4 [ RunTime:0.008460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5443444 ORDER BY `minOrder` ASC [ RunTime:0.003742s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5443444 ORDER BY `unit` DESC [ RunTime:0.007511s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5443444 LIMIT 2 [ RunTime:0.002258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5443444 ORDER BY `minOrder` ASC [ RunTime:0.000411s ]
select * from pdf where partno='TMM-110-01-L-D-SM-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.002731s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8385 LIMIT 4 [ RunTime:0.000732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8385 ORDER BY `minOrder` ASC [ RunTime:0.000620s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8385 ORDER BY `unit` DESC [ RunTime:0.002988s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8385 LIMIT 2 [ RunTime:0.006351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8385 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002419s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TMM-110-01-L-D-SM' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.003754s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9818931 LIMIT 4 [ RunTime:0.007703s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9818931 ORDER BY `minOrder` ASC [ RunTime:0.002780s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9818931 ORDER BY `unit` DESC [ RunTime:0.002113s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9818931 LIMIT 2 [ RunTime:0.000780s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9818931 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
select * from pdf where partno='TMM-110-01-L-D-SM' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001623s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9819003 LIMIT 4 [ RunTime:0.007761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9819003 ORDER BY `minOrder` ASC [ RunTime:0.008360s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9819003 ORDER BY `unit` DESC [ RunTime:0.002598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9819003 LIMIT 2 [ RunTime:0.001970s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9819003 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
select * from pdf where partno='TMM-110-01-L-D-SM-A' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.002285s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9798147 LIMIT 4 [ RunTime:0.000838s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9798147 ORDER BY `minOrder` ASC [ RunTime:0.003172s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9798147 ORDER BY `unit` DESC [ RunTime:0.007070s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9798147 LIMIT 2 [ RunTime:0.000578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9798147 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
select * from pdf where partno='TMM-110-01-L-D-SM-020-P' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.008588s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9797587 LIMIT 4 [ RunTime:0.001788s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9797587 ORDER BY `minOrder` ASC [ RunTime:0.000616s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9797587 ORDER BY `unit` DESC [ RunTime:0.000791s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9797587 LIMIT 2 [ RunTime:0.000581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9797587 ORDER BY `minOrder` ASC [ RunTime:0.003310s ]
select * from pdf where partno='TMM-110-01-L-D-SM-004' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000951s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9768513 LIMIT 4 [ RunTime:0.001181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9768513 ORDER BY `minOrder` ASC [ RunTime:0.009237s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9768513 ORDER BY `unit` DESC [ RunTime:0.003152s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9768513 LIMIT 2 [ RunTime:0.001525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9768513 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
select * from pdf where partno='TMM-110-01-L-D-SM-A-P' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001100s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9754126 LIMIT 4 [ RunTime:0.003589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9754126 ORDER BY `minOrder` ASC [ RunTime:0.006574s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9754126 ORDER BY `unit` DESC [ RunTime:0.000671s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9754126 LIMIT 2 [ RunTime:0.007141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9754126 ORDER BY `minOrder` ASC [ RunTime:0.000445s ]
select * from pdf where partno='TMM-110-01-L-D-SM-020-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.002866s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9754125 LIMIT 4 [ RunTime:0.000654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9754125 ORDER BY `minOrder` ASC [ RunTime:0.000813s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9754125 ORDER BY `unit` DESC [ RunTime:0.000637s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9754125 LIMIT 2 [ RunTime:0.003534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9754125 ORDER BY `minOrder` ASC [ RunTime:0.006508s ]
select * from pdf where partno='TMM-110-01-L-D-SM-010-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001012s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9744072 LIMIT 4 [ RunTime:0.002444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9744072 ORDER BY `minOrder` ASC [ RunTime:0.001810s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9744072 ORDER BY `unit` DESC [ RunTime:0.001471s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9744072 LIMIT 2 [ RunTime:0.000607s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9744072 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
select * from pdf where partno='TMM-110-01-L-D-SM-M-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001117s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9722528 LIMIT 4 [ RunTime:0.005245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9722528 ORDER BY `minOrder` ASC [ RunTime:0.000595s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9722528 ORDER BY `unit` DESC [ RunTime:0.007727s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9722528 LIMIT 2 [ RunTime:0.002525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9722528 ORDER BY `minOrder` ASC [ RunTime:0.000409s ]
select * from pdf where partno='TMM-110-01-L-D-SM-P' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.002312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6154991 LIMIT 4 [ RunTime:0.001269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6154991 ORDER BY `minOrder` ASC [ RunTime:0.000574s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6154991 ORDER BY `unit` DESC [ RunTime:0.003712s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6154991 LIMIT 2 [ RunTime:0.007101s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6154991 ORDER BY `minOrder` ASC [ RunTime:0.000394s ]
select * from pdf where partno='TMM-110-01-L-D-SM-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000982s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6154435 LIMIT 4 [ RunTime:0.002055s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6154435 ORDER BY `minOrder` ASC [ RunTime:0.001442s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6154435 ORDER BY `unit` DESC [ RunTime:0.000659s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6154435 LIMIT 2 [ RunTime:0.000736s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6154435 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
select * from pdf where partno='TMM-110-01-L-D-SM-007' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000855s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5448850 LIMIT 4 [ RunTime:0.001325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5448850 ORDER BY `minOrder` ASC [ RunTime:0.009411s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5448850 ORDER BY `unit` DESC [ RunTime:0.003595s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5448850 LIMIT 2 [ RunTime:0.001475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5448850 ORDER BY `minOrder` ASC [ RunTime:0.000417s ]
select * from pdf where partno='TMM-110-01-L-D-SM-M' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000949s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5447703 LIMIT 4 [ RunTime:0.003514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5447703 ORDER BY `minOrder` ASC [ RunTime:0.006643s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5447703 ORDER BY `unit` DESC [ RunTime:0.000623s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5447703 LIMIT 2 [ RunTime:0.007272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5447703 ORDER BY `minOrder` ASC [ RunTime:0.000443s ]
select * from pdf where partno='TMM-110-01-L-D-SM-A-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.003168s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5447407 LIMIT 4 [ RunTime:0.000825s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5447407 ORDER BY `minOrder` ASC [ RunTime:0.000771s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5447407 ORDER BY `unit` DESC [ RunTime:0.000577s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5447407 LIMIT 2 [ RunTime:0.003605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5447407 ORDER BY `minOrder` ASC [ RunTime:0.006752s ]
select * from pdf where partno='TMM-110-01-L-D-SM-A-M-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001006s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2001615 LIMIT 4 [ RunTime:0.002653s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2001615 ORDER BY `minOrder` ASC [ RunTime:0.001807s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2001615 ORDER BY `unit` DESC [ RunTime:0.001441s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2001615 LIMIT 2 [ RunTime:0.000593s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2001615 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
select * from pdf where partno='TMM-110-01-L-D-SM-A-M' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.001075s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'TMM-110-01-L-D-SM%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.004345s ]