SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001813s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.007060s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001555s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000296s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001045s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000230s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.001894s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000186s ]
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.000339s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001247s ]
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 140,20 [ RunTime:0.003544s ]
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 ('8757999','8757998','8757897','8757896','8757895','8757894','8757777','8757776','8757775','8757774','8736261','8736260','8736238','8736200','8736182','8729654','8728394','8728393','8726389','8725144') ORDER BY FIELD(s.id, 8757999,8757998,8757897,8757896,8757895,8757894,8757777,8757776,8757775,8757774,8736261,8736260,8736238,8736200,8736182,8729654,8728394,8728393,8726389,8725144) [ RunTime:0.003263s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003139s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8757999 LIMIT 4 [ RunTime:0.000826s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757999 ORDER BY `minOrder` ASC [ RunTime:0.000919s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002645s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8757999 ORDER BY `unit` DESC [ RunTime:0.000472s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004622s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8757999 LIMIT 2 [ RunTime:0.000443s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757999 ORDER BY `minOrder` ASC [ RunTime:0.005703s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8757998 LIMIT 4 [ RunTime:0.000468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757998 ORDER BY `minOrder` ASC [ RunTime:0.002709s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8757998 ORDER BY `unit` DESC [ RunTime:0.005214s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8757998 LIMIT 2 [ RunTime:0.002366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757998 ORDER BY `minOrder` ASC [ RunTime:0.004898s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8757897 LIMIT 4 [ RunTime:0.004112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757897 ORDER BY `minOrder` ASC [ RunTime:0.008235s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8757897 ORDER BY `unit` DESC [ RunTime:0.003107s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8757897 LIMIT 2 [ RunTime:0.002800s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757897 ORDER BY `minOrder` ASC [ RunTime:0.005209s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8757896 LIMIT 4 [ RunTime:0.003092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757896 ORDER BY `minOrder` ASC [ RunTime:0.000583s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8757896 ORDER BY `unit` DESC [ RunTime:0.000686s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8757896 LIMIT 2 [ RunTime:0.004563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757896 ORDER BY `minOrder` ASC [ RunTime:0.001147s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8757895 LIMIT 4 [ RunTime:0.000591s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757895 ORDER BY `minOrder` ASC [ RunTime:0.000574s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8757895 ORDER BY `unit` DESC [ RunTime:0.002108s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8757895 LIMIT 2 [ RunTime:0.000558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757895 ORDER BY `minOrder` ASC [ RunTime:0.000968s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8757894 LIMIT 4 [ RunTime:0.000551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757894 ORDER BY `minOrder` ASC [ RunTime:0.003113s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8757894 ORDER BY `unit` DESC [ RunTime:0.001836s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8757894 LIMIT 2 [ RunTime:0.001908s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757894 ORDER BY `minOrder` ASC [ RunTime:0.001280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8757777 LIMIT 4 [ RunTime:0.000851s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757777 ORDER BY `minOrder` ASC [ RunTime:0.000576s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8757777 ORDER BY `unit` DESC [ RunTime:0.000560s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8757777 LIMIT 2 [ RunTime:0.001688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757777 ORDER BY `minOrder` ASC [ RunTime:0.003988s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8757776 LIMIT 4 [ RunTime:0.002607s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757776 ORDER BY `minOrder` ASC [ RunTime:0.013714s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8757776 ORDER BY `unit` DESC [ RunTime:0.006114s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8757776 LIMIT 2 [ RunTime:0.003069s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757776 ORDER BY `minOrder` ASC [ RunTime:0.003918s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8757775 LIMIT 4 [ RunTime:0.003176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757775 ORDER BY `minOrder` ASC [ RunTime:0.005545s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8757775 ORDER BY `unit` DESC [ RunTime:0.001317s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8757775 LIMIT 2 [ RunTime:0.000570s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757775 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8757774 LIMIT 4 [ RunTime:0.000573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757774 ORDER BY `minOrder` ASC [ RunTime:0.002355s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8757774 ORDER BY `unit` DESC [ RunTime:0.001861s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8757774 LIMIT 2 [ RunTime:0.000547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8757774 ORDER BY `minOrder` ASC [ RunTime:0.001826s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8736261 LIMIT 4 [ RunTime:0.006691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8736261 ORDER BY `minOrder` ASC [ RunTime:0.005052s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8736261 ORDER BY `unit` DESC [ RunTime:0.003921s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8736261 LIMIT 2 [ RunTime:0.002748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8736261 ORDER BY `minOrder` ASC [ RunTime:0.001357s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8736260 LIMIT 4 [ RunTime:0.000622s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8736260 ORDER BY `minOrder` ASC [ RunTime:0.009121s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8736260 ORDER BY `unit` DESC [ RunTime:0.002757s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8736260 LIMIT 2 [ RunTime:0.001293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8736260 ORDER BY `minOrder` ASC [ RunTime:0.001106s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8736238 LIMIT 4 [ RunTime:0.001296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8736238 ORDER BY `minOrder` ASC [ RunTime:0.001227s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8736238 ORDER BY `unit` DESC [ RunTime:0.000974s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8736238 LIMIT 2 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8736238 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8736200 LIMIT 4 [ RunTime:0.000494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8736200 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8736200 ORDER BY `unit` DESC [ RunTime:0.002072s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8736200 LIMIT 2 [ RunTime:0.003566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8736200 ORDER BY `minOrder` ASC [ RunTime:0.000643s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8736182 LIMIT 4 [ RunTime:0.002361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8736182 ORDER BY `minOrder` ASC [ RunTime:0.001612s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8736182 ORDER BY `unit` DESC [ RunTime:0.005083s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8736182 LIMIT 2 [ RunTime:0.009512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8736182 ORDER BY `minOrder` ASC [ RunTime:0.001737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8729654 LIMIT 4 [ RunTime:0.002506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8729654 ORDER BY `minOrder` ASC [ RunTime:0.007837s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8729654 ORDER BY `unit` DESC [ RunTime:0.002336s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8729654 LIMIT 2 [ RunTime:0.000457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8729654 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8728394 LIMIT 4 [ RunTime:0.000560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8728394 ORDER BY `minOrder` ASC [ RunTime:0.002477s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8728394 ORDER BY `unit` DESC [ RunTime:0.001521s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8728394 LIMIT 2 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8728394 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8728393 LIMIT 4 [ RunTime:0.000981s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8728393 ORDER BY `minOrder` ASC [ RunTime:0.004541s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8728393 ORDER BY `unit` DESC [ RunTime:0.005675s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8728393 LIMIT 2 [ RunTime:0.004911s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8728393 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8726389 LIMIT 4 [ RunTime:0.002258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8726389 ORDER BY `minOrder` ASC [ RunTime:0.001847s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8726389 ORDER BY `unit` DESC [ RunTime:0.002540s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8726389 LIMIT 2 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8726389 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8725144 LIMIT 4 [ RunTime:0.000515s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8725144 ORDER BY `minOrder` ASC [ RunTime:0.001368s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8725144 ORDER BY `unit` DESC [ RunTime:0.005859s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8725144 LIMIT 2 [ RunTime:0.007695s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8725144 ORDER BY `minOrder` ASC [ RunTime:0.007448s ]
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.000361s ]