SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001592s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000580s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001993s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000362s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001227s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001935s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 1505 LIMIT 1 [ RunTime:0.003691s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 1505 [ RunTime:0.004405s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1506,1507,1508,1509,1510,1511,1512,1513,1514,1515,1516,1517,1518,1519,1520,1521,1522,1523,1524,1525,1526,1527,1528,1529,1530) [ RunTime:0.007453s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001446s ]
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 ( `status` <> 2 AND `categoryid` IN (1506,1507,1508,1509,1510,1511,1512,1513,1514,1515,1516,1517,1518,1519,1520,1521,1522,1523,1524,1525,1526,1527,1528,1529,1530) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003407s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (1506,1507,1508,1509,1510,1511,1512,1513,1514,1515,1516,1517,1518,1519,1520,1521,1522,1523,1524,1525,1526,1527,1528,1529,1530) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001249s ]