SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002004s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000509s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002029s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000300s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002214s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000286s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000318s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000223s ]
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.000437s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002053s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'HTST-110-01-L-DV%' AND `status` <> 2 ) [ RunTime:0.003244s ]
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 'HTST-110-01-L-DV%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004598s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001880s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5459188 LIMIT 4 [ RunTime:0.000689s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001687s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5459188 ORDER BY `minOrder` ASC [ RunTime:0.003723s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001805s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5459188 ORDER BY `unit` DESC [ RunTime:0.002071s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002484s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5459188 LIMIT 2 [ RunTime:0.000491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5459188 ORDER BY `minOrder` ASC [ RunTime:0.001477s ]
select * from pdf where partno='HTST-110-01-L-DV-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.008755s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5445500 LIMIT 4 [ RunTime:0.001901s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5445500 ORDER BY `minOrder` ASC [ RunTime:0.002388s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5445500 ORDER BY `unit` DESC [ RunTime:0.000410s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5445500 LIMIT 2 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5445500 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
select * from pdf where partno='HTST-110-01-L-DV' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.000485s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6198440 LIMIT 4 [ RunTime:0.003415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6198440 ORDER BY `minOrder` ASC [ RunTime:0.002467s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6198440 ORDER BY `unit` DESC [ RunTime:0.005559s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6198440 LIMIT 2 [ RunTime:0.005430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6198440 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
select * from pdf where partno='HTST-110-01-L-DV-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.002543s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9806225 LIMIT 4 [ RunTime:0.000623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9806225 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9806225 ORDER BY `unit` DESC [ RunTime:0.000414s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9806225 LIMIT 2 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9806225 ORDER BY `minOrder` ASC [ RunTime:0.001628s ]
select * from pdf where partno='HTST-110-01-L-DV-A' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.003462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9734308 LIMIT 4 [ RunTime:0.002868s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9734308 ORDER BY `minOrder` ASC [ RunTime:0.004166s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9734308 ORDER BY `unit` DESC [ RunTime:0.007005s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9734308 LIMIT 2 [ RunTime:0.004903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9734308 ORDER BY `minOrder` ASC [ RunTime:0.003116s ]
select * from pdf where partno='HTST-110-01-L-DV-A-P-TR' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.004051s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9819140 LIMIT 4 [ RunTime:0.002694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9819140 ORDER BY `minOrder` ASC [ RunTime:0.004024s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9819140 ORDER BY `unit` DESC [ RunTime:0.002348s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9819140 LIMIT 2 [ RunTime:0.006655s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9819140 ORDER BY `minOrder` ASC [ RunTime:0.004356s ]
select * from pdf where partno='HTST-110-01-L-DV-P' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.004021s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7856 LIMIT 4 [ RunTime:0.001235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7856 ORDER BY `minOrder` ASC [ RunTime:0.006873s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7856 ORDER BY `unit` DESC [ RunTime:0.003496s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7856 LIMIT 2 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7856 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001411s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HTST-110-01-L-DV' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.007206s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9779632 LIMIT 4 [ RunTime:0.004966s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9779632 ORDER BY `minOrder` ASC [ RunTime:0.006462s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9779632 ORDER BY `unit` DESC [ RunTime:0.007238s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9779632 LIMIT 2 [ RunTime:0.004530s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9779632 ORDER BY `minOrder` ASC [ RunTime:0.003411s ]
select * from pdf where partno='HTST-110-01-L-DV-A-P' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.016174s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9772487 LIMIT 4 [ RunTime:0.004155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9772487 ORDER BY `minOrder` ASC [ RunTime:0.003811s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9772487 ORDER BY `unit` DESC [ RunTime:0.015011s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9772487 LIMIT 2 [ RunTime:0.007219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9772487 ORDER BY `minOrder` ASC [ RunTime:0.000437s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9763929 LIMIT 4 [ RunTime:0.000896s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9763929 ORDER BY `minOrder` ASC [ RunTime:0.003899s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9763929 ORDER BY `unit` DESC [ RunTime:0.009382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9763929 LIMIT 2 [ RunTime:0.000570s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9763929 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9722173 LIMIT 4 [ RunTime:0.000807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9722173 ORDER BY `minOrder` ASC [ RunTime:0.005514s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9722173 ORDER BY `unit` DESC [ RunTime:0.007598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9722173 LIMIT 2 [ RunTime:0.004935s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9722173 ORDER BY `minOrder` ASC [ RunTime:0.002159s ]
select * from pdf where partno='HTST-110-01-L-DV-01' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.005574s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6154315 LIMIT 4 [ RunTime:0.001510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6154315 ORDER BY `minOrder` ASC [ RunTime:0.003066s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6154315 ORDER BY `unit` DESC [ RunTime:0.014992s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6154315 LIMIT 2 [ RunTime:0.003652s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6154315 ORDER BY `minOrder` ASC [ RunTime:0.005599s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4652852 LIMIT 4 [ RunTime:0.003421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4652852 ORDER BY `minOrder` ASC [ RunTime:0.002064s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4652852 ORDER BY `unit` DESC [ RunTime:0.001887s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4652852 LIMIT 2 [ RunTime:0.002984s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4652852 ORDER BY `minOrder` ASC [ RunTime:0.001718s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3179251 LIMIT 4 [ RunTime:0.000665s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3179251 ORDER BY `minOrder` ASC [ RunTime:0.008995s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3179251 ORDER BY `unit` DESC [ RunTime:0.001131s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3179251 LIMIT 2 [ RunTime:0.000699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3179251 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
select * from pdf where partno='HTST-110-01-L-DV-20' and brandshort='Samtec Inc.' limit 1 [ RunTime:0.005472s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'HTST-110-01-L-DV%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001079s ]