SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.011220s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002826s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001425s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.001024s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001968s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.008350s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000491s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.005631s ]
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.002518s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002555s ]
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.015304s ]
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.015397s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001247s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2817453 LIMIT 4 [ RunTime:0.034465s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2817453 ORDER BY `minOrder` ASC [ RunTime:0.006607s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003816s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2817453 ORDER BY `unit` DESC [ RunTime:0.004946s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003190s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2817453 LIMIT 2 [ RunTime:0.000442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2817453 ORDER BY `minOrder` ASC [ RunTime:0.007263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7241008 LIMIT 4 [ RunTime:0.027062s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7241008 ORDER BY `minOrder` ASC [ RunTime:0.012702s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7241008 ORDER BY `unit` DESC [ RunTime:0.012777s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7241008 LIMIT 2 [ RunTime:0.001432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7241008 ORDER BY `minOrder` ASC [ RunTime:0.001629s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2823101 LIMIT 4 [ RunTime:0.003785s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2823101 ORDER BY `minOrder` ASC [ RunTime:0.002436s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2823101 ORDER BY `unit` DESC [ RunTime:0.002076s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2823101 LIMIT 2 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2823101 ORDER BY `minOrder` ASC [ RunTime:0.001213s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8539 LIMIT 4 [ RunTime:0.000269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8539 ORDER BY `minOrder` ASC [ RunTime:0.002279s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8539 ORDER BY `unit` DESC [ RunTime:0.006514s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8539 LIMIT 2 [ RunTime:0.002348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8539 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001085s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAV0120/3D' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.000931s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1767179 LIMIT 4 [ RunTime:0.000641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1767179 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1767179 ORDER BY `unit` DESC [ RunTime:0.000615s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1767179 LIMIT 2 [ RunTime:0.000535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1767179 ORDER BY `minOrder` ASC [ RunTime:0.001433s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2847295 LIMIT 4 [ RunTime:0.000514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847295 ORDER BY `minOrder` ASC [ RunTime:0.001531s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2847295 ORDER BY `unit` DESC [ RunTime:0.000865s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2847295 LIMIT 2 [ RunTime:0.000269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847295 ORDER BY `minOrder` ASC [ RunTime:0.003203s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1767476 LIMIT 4 [ RunTime:0.001748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1767476 ORDER BY `minOrder` ASC [ RunTime:0.000572s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1767476 ORDER BY `unit` DESC [ RunTime:0.000233s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1767476 LIMIT 2 [ RunTime:0.000242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1767476 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2847297 LIMIT 4 [ RunTime:0.000477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847297 ORDER BY `minOrder` ASC [ RunTime:0.001272s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2847297 ORDER BY `unit` DESC [ RunTime:0.001892s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2847297 LIMIT 2 [ RunTime:0.000831s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847297 ORDER BY `minOrder` ASC [ RunTime:0.000566s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2847296 LIMIT 4 [ RunTime:0.000865s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847296 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2847296 ORDER BY `unit` DESC [ RunTime:0.000854s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2847296 LIMIT 2 [ RunTime:0.000224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847296 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2847321 LIMIT 4 [ RunTime:0.000407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847321 ORDER BY `minOrder` ASC [ RunTime:0.000227s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2847321 ORDER BY `unit` DESC [ RunTime:0.007486s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2847321 LIMIT 2 [ RunTime:0.005354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847321 ORDER BY `minOrder` ASC [ RunTime:0.001212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2847294 LIMIT 4 [ RunTime:0.000257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847294 ORDER BY `minOrder` ASC [ RunTime:0.002761s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2847294 ORDER BY `unit` DESC [ RunTime:0.000914s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2847294 LIMIT 2 [ RunTime:0.000269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2847294 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2824700 LIMIT 4 [ RunTime:0.000566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2824700 ORDER BY `minOrder` ASC [ RunTime:0.000506s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2824700 ORDER BY `unit` DESC [ RunTime:0.005396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2824700 LIMIT 2 [ RunTime:0.000782s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2824700 ORDER BY `minOrder` ASC [ RunTime:0.000193s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1767463 LIMIT 4 [ RunTime:0.001030s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1767463 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1767463 ORDER BY `unit` DESC [ RunTime:0.000502s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1767463 LIMIT 2 [ RunTime:0.002626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1767463 ORDER BY `minOrder` ASC [ RunTime:0.000608s ]
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.000758s ]