select count(1) as count from (select * from gxl_tag group by tag_sid,tag_name ) aa where tag_sid in (7) [ RunTime:0.006012s ]
SHOW COLUMNS FROM `gxl_tag` [ RunTime:0.002343s ]
SELECT *,count(tag_name) as tag_count FROM `gxl_tag` WHERE `tag_sid` IN ('7') GROUP BY tag_sid,tag_name ORDER BY tag_sid asc,tag_count desc LIMIT 0,64 [ RunTime:0.000654s ]
SHOW COLUMNS FROM `gxl_tag` [ RunTime:0.001120s ]
SHOW COLUMNS FROM `gxl_down` [ RunTime:0.003672s ]
SELECT COUNT(*) AS tp_count FROM gxl_tag Tag JOIN gxl_down Down ON Tag.tag_id = Down.down_id WHERE Tag.tag_name = '怒火一刀冰雪屠龙' LIMIT 1 [ RunTime:0.001269s ]
SELECT Down.down_id AS down_id,Down.down_size AS down_size,Down.down_stars AS down_stars,Down.down_name AS down_name,Down.down_cid AS down_cid,Down.down_pic AS down_pic,Down.down_addtime AS down_addtime,Down.down_remark AS down_remark FROM gxl_tag Tag JOIN gxl_down Down ON Tag.tag_id = Down.down_id WHERE Tag.tag_name = '怒火一刀冰雪屠龙' ORDER BY Down.down_id desc LIMIT 0,20 [ RunTime:0.008875s ]
SHOW COLUMNS FROM `gxl_down` [ RunTime:0.001496s ]
SELECT `down_id`,`down_cid`,`down_name` FROM `gxl_down` WHERE `down_status` = 1 AND `down_id` IN ('2182','4920','2065','2569','1075','3835','3584','7955','454','8787') ORDER BY down_hits desc LIMIT 10 [ RunTime:0.000667s ]