SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002134s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.007175s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.004913s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.005043s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002741s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.003495s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.002702s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.002296s ]
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.000512s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002087s ]
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 'MAV0120/3D%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012579s ]
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 ('2817453','7241008','2823101','8539','1767179','2847295','1767476','2847297','2847296','2847321','2847294','2824700','1767463') ORDER BY FIELD(s.id, 2817453,7241008,2823101,8539,1767179,2847295,1767476,2847297,2847296,2847321,2847294,2824700,1767463) [ RunTime:0.003397s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2817453 LIMIT 4 [ RunTime:0.002607s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003203s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2817453 ORDER BY `minOrder` ASC [ RunTime:0.002542s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000902s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2817453 ORDER BY `unit` DESC [ RunTime:0.000284s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001162s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2817453 LIMIT 2 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2817453 ORDER BY `minOrder` ASC [ RunTime:0.001025s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7241008 LIMIT 4 [ RunTime:0.000529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7241008 ORDER BY `minOrder` ASC [ RunTime:0.001224s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7241008 ORDER BY `unit` DESC [ RunTime:0.005171s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7241008 LIMIT 2 [ RunTime:0.000244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7241008 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2823101 LIMIT 4 [ RunTime:0.000512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2823101 ORDER BY `minOrder` ASC [ RunTime:0.001360s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2823101 ORDER BY `unit` DESC [ RunTime:0.002036s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2823101 LIMIT 2 [ RunTime:0.000667s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2823101 ORDER BY `minOrder` ASC [ RunTime:0.004878s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8539 LIMIT 4 [ RunTime:0.010552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8539 ORDER BY `minOrder` ASC [ RunTime:0.004905s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8539 ORDER BY `unit` DESC [ RunTime:0.000285s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8539 LIMIT 2 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8539 ORDER BY `minOrder` ASC [ RunTime:0.000686s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001134s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAV0120/3D' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.005961s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1767179 LIMIT 4 [ RunTime:0.005746s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1767179 ORDER BY `minOrder` ASC [ RunTime:0.003542s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1767179 ORDER BY `unit` DESC [ RunTime:0.000363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1767179 LIMIT 2 [ RunTime:0.004280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1767179 ORDER BY `minOrder` ASC [ RunTime:0.002029s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2847295 LIMIT 4 [ RunTime:0.001721s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847295 ORDER BY `minOrder` ASC [ RunTime:0.001300s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2847295 ORDER BY `unit` DESC [ RunTime:0.000729s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2847295 LIMIT 2 [ RunTime:0.005095s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847295 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1767476 LIMIT 4 [ RunTime:0.003784s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1767476 ORDER BY `minOrder` ASC [ RunTime:0.001175s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1767476 ORDER BY `unit` DESC [ RunTime:0.000352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1767476 LIMIT 2 [ RunTime:0.002046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1767476 ORDER BY `minOrder` ASC [ RunTime:0.002542s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2847297 LIMIT 4 [ RunTime:0.001901s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847297 ORDER BY `minOrder` ASC [ RunTime:0.002427s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2847297 ORDER BY `unit` DESC [ RunTime:0.005128s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2847297 LIMIT 2 [ RunTime:0.002209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847297 ORDER BY `minOrder` ASC [ RunTime:0.002022s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2847296 LIMIT 4 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847296 ORDER BY `minOrder` ASC [ RunTime:0.000353s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2847296 ORDER BY `unit` DESC [ RunTime:0.007394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2847296 LIMIT 2 [ RunTime:0.001456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847296 ORDER BY `minOrder` ASC [ RunTime:0.000537s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2847321 LIMIT 4 [ RunTime:0.005361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847321 ORDER BY `minOrder` ASC [ RunTime:0.003889s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2847321 ORDER BY `unit` DESC [ RunTime:0.000360s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2847321 LIMIT 2 [ RunTime:0.002046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847321 ORDER BY `minOrder` ASC [ RunTime:0.002365s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2847294 LIMIT 4 [ RunTime:0.000418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847294 ORDER BY `minOrder` ASC [ RunTime:0.000860s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2847294 ORDER BY `unit` DESC [ RunTime:0.001742s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2847294 LIMIT 2 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847294 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2824700 LIMIT 4 [ RunTime:0.003135s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2824700 ORDER BY `minOrder` ASC [ RunTime:0.001229s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2824700 ORDER BY `unit` DESC [ RunTime:0.005340s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2824700 LIMIT 2 [ RunTime:0.001780s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2824700 ORDER BY `minOrder` ASC [ RunTime:0.003661s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1767463 LIMIT 4 [ RunTime:0.006190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1767463 ORDER BY `minOrder` ASC [ RunTime:0.000691s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1767463 ORDER BY `unit` DESC [ RunTime:0.003072s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1767463 LIMIT 2 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1767463 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'MAV0120/3D%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000909s ]