SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002057s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000493s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001683s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000344s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001459s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000238s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.006631s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000167s ]
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.002540s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001169s ]
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 20,20 [ RunTime:0.014418s ]
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 ('4032198','6455932','6455112','6455730','1629760','1632346','6455493','6455692','6455496','6455820','6455950','6455978','1629110','1632960','2080408','6455410','4032580','6455732','6455277','4032888') ORDER BY FIELD(s.id, 4032198,6455932,6455112,6455730,1629760,1632346,6455493,6455692,6455496,6455820,6455950,6455978,1629110,1632960,2080408,6455410,4032580,6455732,6455277,4032888) [ RunTime:0.005878s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4032198 LIMIT 4 [ RunTime:0.001918s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4032198 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000948s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4032198 ORDER BY `unit` DESC [ RunTime:0.000287s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000972s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4032198 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4032198 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455932 LIMIT 4 [ RunTime:0.000540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455932 ORDER BY `minOrder` ASC [ RunTime:0.010167s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455932 ORDER BY `unit` DESC [ RunTime:0.007673s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455932 LIMIT 2 [ RunTime:0.001617s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455932 ORDER BY `minOrder` ASC [ RunTime:0.005490s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455112 LIMIT 4 [ RunTime:0.004201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455112 ORDER BY `minOrder` ASC [ RunTime:0.000672s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455112 ORDER BY `unit` DESC [ RunTime:0.001856s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455112 LIMIT 2 [ RunTime:0.000439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455112 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455730 LIMIT 4 [ RunTime:0.000621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455730 ORDER BY `minOrder` ASC [ RunTime:0.000439s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455730 ORDER BY `unit` DESC [ RunTime:0.006624s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455730 LIMIT 2 [ RunTime:0.005702s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455730 ORDER BY `minOrder` ASC [ RunTime:0.000629s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1629760 LIMIT 4 [ RunTime:0.009335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1629760 ORDER BY `minOrder` ASC [ RunTime:0.041914s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1629760 ORDER BY `unit` DESC [ RunTime:0.014491s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1629760 LIMIT 2 [ RunTime:0.015547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1629760 ORDER BY `minOrder` ASC [ RunTime:0.004536s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1632346 LIMIT 4 [ RunTime:0.016347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1632346 ORDER BY `minOrder` ASC [ RunTime:0.001933s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1632346 ORDER BY `unit` DESC [ RunTime:0.000616s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1632346 LIMIT 2 [ RunTime:0.000489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1632346 ORDER BY `minOrder` ASC [ RunTime:0.000506s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455493 LIMIT 4 [ RunTime:0.000804s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455493 ORDER BY `minOrder` ASC [ RunTime:0.000527s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455493 ORDER BY `unit` DESC [ RunTime:0.005527s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455493 LIMIT 2 [ RunTime:0.005221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455493 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455692 LIMIT 4 [ RunTime:0.000733s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455692 ORDER BY `minOrder` ASC [ RunTime:0.000467s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455692 ORDER BY `unit` DESC [ RunTime:0.000478s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455692 LIMIT 2 [ RunTime:0.003175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455692 ORDER BY `minOrder` ASC [ RunTime:0.003783s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455496 LIMIT 4 [ RunTime:0.006180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455496 ORDER BY `minOrder` ASC [ RunTime:0.013027s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455496 ORDER BY `unit` DESC [ RunTime:0.004950s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455496 LIMIT 2 [ RunTime:0.004206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455496 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455820 LIMIT 4 [ RunTime:0.000711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455820 ORDER BY `minOrder` ASC [ RunTime:0.004579s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455820 ORDER BY `unit` DESC [ RunTime:0.000546s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455820 LIMIT 2 [ RunTime:0.002846s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455820 ORDER BY `minOrder` ASC [ RunTime:0.008453s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455950 LIMIT 4 [ RunTime:0.003227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455950 ORDER BY `minOrder` ASC [ RunTime:0.002622s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455950 ORDER BY `unit` DESC [ RunTime:0.002031s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455950 LIMIT 2 [ RunTime:0.000420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455950 ORDER BY `minOrder` ASC [ RunTime:0.002380s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455978 LIMIT 4 [ RunTime:0.008771s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455978 ORDER BY `minOrder` ASC [ RunTime:0.009423s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455978 ORDER BY `unit` DESC [ RunTime:0.007179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455978 LIMIT 2 [ RunTime:0.003451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455978 ORDER BY `minOrder` ASC [ RunTime:0.001837s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1629110 LIMIT 4 [ RunTime:0.004110s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1629110 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1629110 ORDER BY `unit` DESC [ RunTime:0.002397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1629110 LIMIT 2 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1629110 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1632960 LIMIT 4 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1632960 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1632960 ORDER BY `unit` DESC [ RunTime:0.000268s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1632960 LIMIT 2 [ RunTime:0.001046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1632960 ORDER BY `minOrder` ASC [ RunTime:0.001833s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2080408 LIMIT 4 [ RunTime:0.000582s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2080408 ORDER BY `minOrder` ASC [ RunTime:0.003867s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2080408 ORDER BY `unit` DESC [ RunTime:0.000295s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2080408 LIMIT 2 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2080408 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455410 LIMIT 4 [ RunTime:0.000448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455410 ORDER BY `minOrder` ASC [ RunTime:0.003881s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455410 ORDER BY `unit` DESC [ RunTime:0.005057s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455410 LIMIT 2 [ RunTime:0.000662s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455410 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4032580 LIMIT 4 [ RunTime:0.001303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4032580 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4032580 ORDER BY `unit` DESC [ RunTime:0.000269s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4032580 LIMIT 2 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4032580 ORDER BY `minOrder` ASC [ RunTime:0.001667s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455732 LIMIT 4 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455732 ORDER BY `minOrder` ASC [ RunTime:0.004025s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455732 ORDER BY `unit` DESC [ RunTime:0.004271s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455732 LIMIT 2 [ RunTime:0.006871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455732 ORDER BY `minOrder` ASC [ RunTime:0.001161s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6455277 LIMIT 4 [ RunTime:0.003844s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455277 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6455277 ORDER BY `unit` DESC [ RunTime:0.002106s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6455277 LIMIT 2 [ RunTime:0.002175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6455277 ORDER BY `minOrder` ASC [ RunTime:0.003754s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4032888 LIMIT 4 [ RunTime:0.001319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4032888 ORDER BY `minOrder` ASC [ RunTime:0.001883s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4032888 ORDER BY `unit` DESC [ RunTime:0.001929s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4032888 LIMIT 2 [ RunTime:0.001172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4032888 ORDER BY `minOrder` ASC [ RunTime:0.000163s ]
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.002541s ]