SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001959s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000508s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002503s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000318s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001790s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000265s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 238 LIMIT 1 [ RunTime:0.000255s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 238 [ RunTime:0.000221s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000222s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001947s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 238 ) [ RunTime:0.000701s ]
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` = 238 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002117s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001763s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4234 LIMIT 4 [ RunTime:0.000407s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4234 ORDER BY `minOrder` ASC [ RunTime:0.000472s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001689s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4234 ORDER BY `unit` DESC [ RunTime:0.000431s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002211s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4234 LIMIT 2 [ RunTime:0.000412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4234 ORDER BY `minOrder` ASC [ RunTime:0.000684s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001759s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1734742-0' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000574s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8089 LIMIT 4 [ RunTime:0.000721s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8089 ORDER BY `minOrder` ASC [ RunTime:0.000394s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8089 ORDER BY `unit` DESC [ RunTime:0.000372s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8089 LIMIT 2 [ RunTime:0.000233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8089 ORDER BY `minOrder` ASC [ RunTime:0.001453s ]
select * from pdf where partno='686730100001' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000338s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '686730100001' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000255s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10318 LIMIT 4 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10318 ORDER BY `minOrder` ASC [ RunTime:0.001018s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10318 ORDER BY `unit` DESC [ RunTime:0.001794s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10318 LIMIT 2 [ RunTime:0.000536s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10318 ORDER BY `minOrder` ASC [ RunTime:0.001087s ]
select * from pdf where partno='686705200001' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000641s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '686705200001' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.001045s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8088 LIMIT 4 [ RunTime:0.000700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8088 ORDER BY `minOrder` ASC [ RunTime:0.001184s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8088 ORDER BY `unit` DESC [ RunTime:0.000528s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8088 LIMIT 2 [ RunTime:0.000538s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8088 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
select * from pdf where partno='686720100001' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000639s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '686720100001' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000621s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8090 LIMIT 4 [ RunTime:0.000590s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8090 ORDER BY `minOrder` ASC [ RunTime:0.000569s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8090 ORDER BY `unit` DESC [ RunTime:0.000558s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8090 LIMIT 2 [ RunTime:0.000699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8090 ORDER BY `minOrder` ASC [ RunTime:0.000473s ]
select * from pdf where partno='687650100002' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.001432s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '687650100002' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000877s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 238 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001235s ]