SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002096s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000516s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002293s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.002522s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001995s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000289s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000335s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000232s ]
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.002161s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002273s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `partno` LIKE 'XAP-04V-1%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001190s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('3034794','13734','3025134','3025133','3025132','1894018','1894017') ORDER BY FIELD(s.id, 3034794,13734,3025134,3025133,3025132,1894018,1894017) [ RunTime:0.009879s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001962s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3034794 LIMIT 4 [ RunTime:0.000756s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002000s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3034794 ORDER BY `minOrder` ASC [ RunTime:0.001476s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003623s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3034794 ORDER BY `unit` DESC [ RunTime:0.000445s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003770s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3034794 LIMIT 2 [ RunTime:0.006355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3034794 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
select * from pdf where partno='XAP-04V-1' and brandshort='JST Sales America Inc.' limit 1 [ RunTime:0.000857s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13734 LIMIT 4 [ RunTime:0.000415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13734 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13734 ORDER BY `unit` DESC [ RunTime:0.000300s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13734 LIMIT 2 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13734 ORDER BY `minOrder` ASC [ RunTime:0.005384s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001277s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XAP-04V-1' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000935s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3025134 LIMIT 4 [ RunTime:0.002376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3025134 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3025134 ORDER BY `unit` DESC [ RunTime:0.001069s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3025134 LIMIT 2 [ RunTime:0.003009s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3025134 ORDER BY `minOrder` ASC [ RunTime:0.000191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3025133 LIMIT 4 [ RunTime:0.001497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3025133 ORDER BY `minOrder` ASC [ RunTime:0.001073s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3025133 ORDER BY `unit` DESC [ RunTime:0.000779s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3025133 LIMIT 2 [ RunTime:0.000273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3025133 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3025132 LIMIT 4 [ RunTime:0.000268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3025132 ORDER BY `minOrder` ASC [ RunTime:0.000262s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3025132 ORDER BY `unit` DESC [ RunTime:0.001334s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3025132 LIMIT 2 [ RunTime:0.010824s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3025132 ORDER BY `minOrder` ASC [ RunTime:0.000958s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1894018 LIMIT 4 [ RunTime:0.004231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1894018 ORDER BY `minOrder` ASC [ RunTime:0.002254s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1894018 ORDER BY `unit` DESC [ RunTime:0.001759s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1894018 LIMIT 2 [ RunTime:0.000287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1894018 ORDER BY `minOrder` ASC [ RunTime:0.000187s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1894017 LIMIT 4 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1894017 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1894017 ORDER BY `unit` DESC [ RunTime:0.001179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1894017 LIMIT 2 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1894017 ORDER BY `minOrder` ASC [ RunTime:0.004952s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'XAP-04V-1%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001580s ]