SHOW FULL COLUMNS FROM `gs_poems` [ RunTime:0.003500s ]
SELECT `id` FROM `gs_poems` WHERE `status` = 1 AND `author_id` = 480 AND `dynasty_id` = 5 ORDER BY `view_count` DESC,`id` DESC LIMIT 0,20 [ RunTime:0.002534s ]
SELECT * FROM `gs_poems` WHERE `id` = 5220 ORDER BY `view_count` DESC,`id` DESC [ RunTime:0.002527s ]
SHOW FULL COLUMNS FROM `gs_authors` [ RunTime:0.003248s ]
SELECT * FROM `gs_authors` WHERE ( `id` = 480 ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.002550s ]
SHOW FULL COLUMNS FROM `gs_dynasties` [ RunTime:0.003033s ]
SELECT * FROM `gs_dynasties` WHERE ( `id` = 5 ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.002544s ]
SHOW FULL COLUMNS FROM `gs_forms` [ RunTime:0.003025s ]
SELECT COUNT(*) AS think_count FROM `gs_poems` WHERE `status` = 1 AND `author_id` = 480 AND `dynasty_id` = 5 [ RunTime:0.002579s ]
SELECT *,(SELECT COUNT(`id`) AS think_count FROM `gs_poems` `poem_count` WHERE ( `poem_count`.`author_id` =gs_authors.id )) AS `poems_count` FROM `gs_authors` ORDER BY `poems_count` DESC LIMIT 20 [ RunTime:0.131131s ]
SHOW FULL COLUMNS FROM `gs_collections` [ RunTime:0.003244s ]
SELECT * FROM `gs_collections` WHERE `status` = 1 ORDER BY `sort_order` ASC [ RunTime:0.002637s ]