SHOW FULL COLUMNS FROM `category` [ RunTime:0.001364s ]
SELECT * FROM `category` WHERE `parent_id` IS NULL AND `status` = 'Active' ORDER BY `sort_order` ASC [ RunTime:0.000310s ]
SHOW FULL COLUMNS FROM `goods` [ RunTime:0.001324s ]
SELECT COUNT(*) AS think_count FROM `goods` WHERE `status` = 'Active' AND `name` LIKE '%cheap Beauty sale%' [ RunTime:0.000433s ]
SELECT * FROM `category` WHERE `parent_id` IS NULL AND `status` = 'Active' ORDER BY `sort_order` ASC [ RunTime:0.000263s ]
SELECT `id` FROM `category` WHERE `parent_id` = 1 AND `status` = 'Active' [ RunTime:0.000262s ]
SELECT COUNT(*) AS think_count FROM `goods` WHERE `category_id` IN (1,9,10,11,12,13,14,15,16,17) AND `status` = 'Active' [ RunTime:0.000207s ]
SELECT `id` FROM `category` WHERE `parent_id` = 2 AND `status` = 'Active' [ RunTime:0.000145s ]
SELECT COUNT(*) AS think_count FROM `goods` WHERE `category_id` IN (2,18,19,20) AND `status` = 'Active' [ RunTime:0.000183s ]
SELECT `id` FROM `category` WHERE `parent_id` = 3 AND `status` = 'Active' [ RunTime:0.000170s ]
SELECT COUNT(*) AS think_count FROM `goods` WHERE `category_id` IN (3,21,22) AND `status` = 'Active' [ RunTime:0.000172s ]
SELECT `id` FROM `category` WHERE `parent_id` = 4 AND `status` = 'Active' [ RunTime:0.000169s ]
SELECT COUNT(*) AS think_count FROM `goods` WHERE `category_id` = 4 AND `status` = 'Active' [ RunTime:0.000169s ]
SELECT `id` FROM `category` WHERE `parent_id` = 5 AND `status` = 'Active' [ RunTime:0.000167s ]
SELECT COUNT(*) AS think_count FROM `goods` WHERE `category_id` = 5 AND `status` = 'Active' [ RunTime:0.000169s ]
SELECT `id` FROM `category` WHERE `parent_id` = 6 AND `status` = 'Active' [ RunTime:0.000166s ]
SELECT COUNT(*) AS think_count FROM `goods` WHERE `category_id` = 6 AND `status` = 'Active' [ RunTime:0.000138s ]
SELECT `id` FROM `category` WHERE `parent_id` = 7 AND `status` = 'Active' [ RunTime:0.000144s ]
SELECT COUNT(*) AS think_count FROM `goods` WHERE `category_id` = 7 AND `status` = 'Active' [ RunTime:0.000167s ]
SELECT `id` FROM `category` WHERE `parent_id` = 8 AND `status` = 'Active' [ RunTime:0.000154s ]
SELECT COUNT(*) AS think_count FROM `goods` WHERE `category_id` = 8 AND `status` = 'Active' [ RunTime:0.000156s ]
SELECT brand, COUNT(*) AS cnt FROM `goods` WHERE `status` = 'Active' AND `brand` <> '' AND `name` LIKE '%cheap Beauty sale%' GROUP BY `brand` ORDER BY `cnt` DESC [ RunTime:0.000340s ]
SELECT COUNT(*) AS think_count FROM `goods` WHERE `status` = 'Active' AND `name` LIKE '%cheap Beauty sale%' AND `rating` >= '4' [ RunTime:0.000286s ]
SELECT COUNT(*) AS think_count FROM `goods` WHERE `status` = 'Active' AND `name` LIKE '%cheap Beauty sale%' AND `rating` >= '3' AND `rating` < '4' [ RunTime:0.000272s ]
SELECT COUNT(*) AS think_count FROM `goods` WHERE `status` = 'Active' AND `name` LIKE '%cheap Beauty sale%' AND `rating` >= '2' AND `rating` < '3' [ RunTime:0.000229s ]
SELECT COUNT(*) AS think_count FROM `goods` WHERE `status` = 'Active' AND `name` LIKE '%cheap Beauty sale%' AND `rating` >= '0' AND `rating` < '2' [ RunTime:0.000226s ]
SELECT MAX(`original_price`) AS think_max FROM `goods` WHERE `status` = 'Active' AND `name` LIKE '%cheap Beauty sale%' [ RunTime:0.000226s ]
SELECT `name` FROM `goods` WHERE `status` = 'Active' AND `name` LIKE '%cheap Beauty sale%' LIMIT 10 [ RunTime:0.000267s ]
SELECT * FROM `goods` WHERE `status` = 'Active' AND `sales_count` > 0 ORDER BY `sales_count` DESC LIMIT 8 [ RunTime:0.000212s ]
SHOW FULL COLUMNS FROM `goods_image` [ RunTime:0.001196s ]
SELECT * FROM `goods_image` WHERE `is_main` = 1 AND ( `goods_id` IN (16,15,1,9,19,11,4,24) ) ORDER BY `id` DESC LIMIT 1000 [ RunTime:0.000226s ]
SHOW FULL COLUMNS FROM `seller` [ RunTime:0.001188s ]
SELECT * FROM `seller` WHERE ( `id` IN (5,1,2,6) ) ORDER BY `id` DESC LIMIT 1000 [ RunTime:0.000301s ]
SELECT * FROM `goods` WHERE `status` = 'Active' AND `flash_deal_discount` IS NOT NULL AND `flash_deal_discount` > '0' ORDER BY `flash_deal_discount` DESC LIMIT 8 [ RunTime:0.000280s ]
SELECT * FROM `goods_image` WHERE `is_main` = 1 AND ( `goods_id` IN (1,3,26,4,22,32,2,20) ) ORDER BY `id` DESC LIMIT 1000 [ RunTime:0.000299s ]
SELECT * FROM `seller` WHERE ( `id` IN (1,6,2) ) ORDER BY `id` DESC LIMIT 1000 [ RunTime:0.000269s ]