SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001042s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000373s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001473s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.187' ) [ RunTime:0.000207s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001040s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000215s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000225s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000152s ]
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.000335s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002429s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'XHP-3%' AND `status` <> 2 ) [ RunTime:0.000414s ]
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 'XHP-3%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000453s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002410s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3021305 LIMIT 4 [ RunTime:0.000293s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3021305 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002030s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3021305 ORDER BY `unit` DESC [ RunTime:0.000300s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001850s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3021305 LIMIT 2 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3021305 ORDER BY `minOrder` ASC [ RunTime:0.000273s ]
select * from pdf where partno='XHP-3' and brandshort='JST Sales America Inc.' limit 1 [ RunTime:0.000238s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2530 LIMIT 4 [ RunTime:0.000251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2530 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2530 ORDER BY `unit` DESC [ RunTime:0.000244s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2530 LIMIT 2 [ RunTime:0.000190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2530 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001063s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XHP-3' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000229s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16392 LIMIT 4 [ RunTime:0.000188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16392 ORDER BY `minOrder` ASC [ RunTime:0.000193s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16392 ORDER BY `unit` DESC [ RunTime:0.000178s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16392 LIMIT 2 [ RunTime:0.000180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16392 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
select * from pdf where partno='XHP-3' and brandshort='JST JAPAN SOLDERLESS TERMINALS' limit 1 [ RunTime:0.000410s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XHP-3' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000448s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15372 LIMIT 4 [ RunTime:0.000318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15372 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15372 ORDER BY `unit` DESC [ RunTime:0.000501s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15372 LIMIT 2 [ RunTime:0.000190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15372 ORDER BY `minOrder` ASC [ RunTime:0.000221s ]
select * from pdf where partno='XHP-3' and brandshort='JST JAPAN SOLDERLESS TERMINALS' limit 1 [ RunTime:0.003416s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XHP-3' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000303s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3025262 LIMIT 4 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3025262 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3025262 ORDER BY `unit` DESC [ RunTime:0.000250s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3025262 LIMIT 2 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3025262 ORDER BY `minOrder` ASC [ RunTime:0.000223s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3025261 LIMIT 4 [ RunTime:0.000248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3025261 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3025261 ORDER BY `unit` DESC [ RunTime:0.000260s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3025261 LIMIT 2 [ RunTime:0.000257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3025261 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3025167 LIMIT 4 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3025167 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3025167 ORDER BY `unit` DESC [ RunTime:0.000247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3025167 LIMIT 2 [ RunTime:0.000240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3025167 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
select * from pdf where partno='XHP-3-Y' and brandshort='JST Sales America Inc.' limit 1 [ RunTime:0.000303s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'XHP-3%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000289s ]