SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001294s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001025s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001693s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.001289s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001013s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000503s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000712s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000213s ]
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.000405s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001480s ]
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 '980%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009162s ]
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 ('9556392','7268001','6455288','6455939','6455689','4032927','6455934','6455869','6455850','4032574','6454921','6455919','4032196','2316234','1632815','6455816','6455916','4032564','6455897','6457922') ORDER BY FIELD(s.id, 9556392,7268001,6455288,6455939,6455689,4032927,6455934,6455869,6455850,4032574,6454921,6455919,4032196,2316234,1632815,6455816,6455916,4032564,6455897,6457922) [ RunTime:0.015370s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001130s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9556392 LIMIT 4 [ RunTime:0.002062s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9556392 ORDER BY `minOrder` ASC [ RunTime:0.007281s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001033s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9556392 ORDER BY `unit` DESC [ RunTime:0.000317s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000969s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9556392 LIMIT 2 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9556392 ORDER BY `minOrder` ASC [ RunTime:0.002634s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7268001 LIMIT 4 [ RunTime:0.002825s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7268001 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7268001 ORDER BY `unit` DESC [ RunTime:0.000266s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7268001 LIMIT 2 [ RunTime:0.008385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7268001 ORDER BY `minOrder` ASC [ RunTime:0.002096s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455288 LIMIT 4 [ RunTime:0.002696s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455288 ORDER BY `minOrder` ASC [ RunTime:0.001031s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455288 ORDER BY `unit` DESC [ RunTime:0.000394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455288 LIMIT 2 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455288 ORDER BY `minOrder` ASC [ RunTime:0.003170s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455939 LIMIT 4 [ RunTime:0.000562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455939 ORDER BY `minOrder` ASC [ RunTime:0.004430s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455939 ORDER BY `unit` DESC [ RunTime:0.001609s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455939 LIMIT 2 [ RunTime:0.000400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455939 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455689 LIMIT 4 [ RunTime:0.000527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455689 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455689 ORDER BY `unit` DESC [ RunTime:0.001647s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455689 LIMIT 2 [ RunTime:0.009244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455689 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4032927 LIMIT 4 [ RunTime:0.000736s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4032927 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4032927 ORDER BY `unit` DESC [ RunTime:0.004762s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4032927 LIMIT 2 [ RunTime:0.000817s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4032927 ORDER BY `minOrder` ASC [ RunTime:0.002819s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455934 LIMIT 4 [ RunTime:0.000449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455934 ORDER BY `minOrder` ASC [ RunTime:0.000487s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455934 ORDER BY `unit` DESC [ RunTime:0.000382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455934 LIMIT 2 [ RunTime:0.003636s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455934 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455869 LIMIT 4 [ RunTime:0.000896s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455869 ORDER BY `minOrder` ASC [ RunTime:0.003130s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455869 ORDER BY `unit` DESC [ RunTime:0.002567s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455869 LIMIT 2 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455869 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455850 LIMIT 4 [ RunTime:0.000876s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455850 ORDER BY `minOrder` ASC [ RunTime:0.002018s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455850 ORDER BY `unit` DESC [ RunTime:0.000384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455850 LIMIT 2 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455850 ORDER BY `minOrder` ASC [ RunTime:0.001567s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4032574 LIMIT 4 [ RunTime:0.000693s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4032574 ORDER BY `minOrder` ASC [ RunTime:0.004248s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4032574 ORDER BY `unit` DESC [ RunTime:0.003163s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4032574 LIMIT 2 [ RunTime:0.006632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4032574 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6454921 LIMIT 4 [ RunTime:0.000573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6454921 ORDER BY `minOrder` ASC [ RunTime:0.003766s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6454921 ORDER BY `unit` DESC [ RunTime:0.000906s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6454921 LIMIT 2 [ RunTime:0.002745s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6454921 ORDER BY `minOrder` ASC [ RunTime:0.001129s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455919 LIMIT 4 [ RunTime:0.000770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455919 ORDER BY `minOrder` ASC [ RunTime:0.002093s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455919 ORDER BY `unit` DESC [ RunTime:0.002594s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455919 LIMIT 2 [ RunTime:0.000483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455919 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4032196 LIMIT 4 [ RunTime:0.001559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4032196 ORDER BY `minOrder` ASC [ RunTime:0.001167s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4032196 ORDER BY `unit` DESC [ RunTime:0.000895s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4032196 LIMIT 2 [ RunTime:0.000409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4032196 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2316234 LIMIT 4 [ RunTime:0.000555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2316234 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2316234 ORDER BY `unit` DESC [ RunTime:0.001266s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2316234 LIMIT 2 [ RunTime:0.003321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2316234 ORDER BY `minOrder` ASC [ RunTime:0.000815s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1632815 LIMIT 4 [ RunTime:0.000586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1632815 ORDER BY `minOrder` ASC [ RunTime:0.001759s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1632815 ORDER BY `unit` DESC [ RunTime:0.000378s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1632815 LIMIT 2 [ RunTime:0.000849s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1632815 ORDER BY `minOrder` ASC [ RunTime:0.001284s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455816 LIMIT 4 [ RunTime:0.000761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455816 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455816 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455816 LIMIT 2 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455816 ORDER BY `minOrder` ASC [ RunTime:0.000846s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455916 LIMIT 4 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455916 ORDER BY `minOrder` ASC [ RunTime:0.001052s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455916 ORDER BY `unit` DESC [ RunTime:0.001843s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455916 LIMIT 2 [ RunTime:0.001065s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455916 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4032564 LIMIT 4 [ RunTime:0.000565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4032564 ORDER BY `minOrder` ASC [ RunTime:0.000452s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4032564 ORDER BY `unit` DESC [ RunTime:0.000375s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4032564 LIMIT 2 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4032564 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455897 LIMIT 4 [ RunTime:0.000523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455897 ORDER BY `minOrder` ASC [ RunTime:0.000676s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455897 ORDER BY `unit` DESC [ RunTime:0.000382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455897 LIMIT 2 [ RunTime:0.002144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455897 ORDER BY `minOrder` ASC [ RunTime:0.001948s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6457922 LIMIT 4 [ RunTime:0.001463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6457922 ORDER BY `minOrder` ASC [ RunTime:0.003998s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6457922 ORDER BY `unit` DESC [ RunTime:0.000423s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6457922 LIMIT 2 [ RunTime:0.001758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6457922 ORDER BY `minOrder` ASC [ RunTime:0.002991s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '980%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002903s ]