SHOW FULL COLUMNS FROM `maoyu_article_tags` [ RunTime:0.001629s ]
SELECT `id`,`title`,`click_num` FROM `maoyu_article_tags` WHERE `id` = 8 AND `status` = 1 LIMIT 1 [ RunTime:0.000275s ]
SHOW FULL COLUMNS FROM `maoyu_article_tags_mapping` [ RunTime:0.001523s ]
SELECT COUNT(*) AS think_count FROM `maoyu_article_tags_mapping` WHERE `tag_id` = 8 [ RunTime:0.000251s ]
SHOW FULL COLUMNS FROM `maoyu_article` [ RunTime:0.003944s ]
SELECT COUNT(*) AS think_count FROM `maoyu_article` `a` LEFT JOIN `maoyu_article_tags_mapping` `b` ON `b`.`article_id`=`a`.`id` WHERE `a`.`status` = '1' AND `b`.`tag_id` = '8' [ RunTime:0.000213s ]
SELECT `a`.`id`,`a`.`title`,`a`.`picture`,`a`.`desc`,`a`.`click_num`,`a`.`publish_time` FROM `maoyu_article` `a` LEFT JOIN `maoyu_article_tags_mapping` `b` ON `b`.`article_id`=`a`.`id` WHERE `a`.`status` = '1' AND `b`.`tag_id` = '8' LIMIT 40,10 [ RunTime:0.000480s ]
SELECT `b`.`id`,`b`.`title` FROM `maoyu_article_tags_mapping` `a` LEFT JOIN `maoyu_article_tags` `b` ON `a`.`tag_id`=`b`.`id` WHERE `a`.`article_id` = '365' LIMIT 0,3 [ RunTime:0.000382s ]
SELECT `b`.`id`,`b`.`title` FROM `maoyu_article_tags_mapping` `a` LEFT JOIN `maoyu_article_tags` `b` ON `a`.`tag_id`=`b`.`id` WHERE `a`.`article_id` = '366' LIMIT 0,3 [ RunTime:0.000296s ]
SELECT `b`.`id`,`b`.`title` FROM `maoyu_article_tags_mapping` `a` LEFT JOIN `maoyu_article_tags` `b` ON `a`.`tag_id`=`b`.`id` WHERE `a`.`article_id` = '367' LIMIT 0,3 [ RunTime:0.000295s ]
SELECT `b`.`id`,`b`.`title` FROM `maoyu_article_tags_mapping` `a` LEFT JOIN `maoyu_article_tags` `b` ON `a`.`tag_id`=`b`.`id` WHERE `a`.`article_id` = '379' LIMIT 0,3 [ RunTime:0.000284s ]
SELECT `b`.`id`,`b`.`title` FROM `maoyu_article_tags_mapping` `a` LEFT JOIN `maoyu_article_tags` `b` ON `a`.`tag_id`=`b`.`id` WHERE `a`.`article_id` = '380' LIMIT 0,3 [ RunTime:0.000285s ]
SELECT `b`.`id`,`b`.`title` FROM `maoyu_article_tags_mapping` `a` LEFT JOIN `maoyu_article_tags` `b` ON `a`.`tag_id`=`b`.`id` WHERE `a`.`article_id` = '381' LIMIT 0,3 [ RunTime:0.000278s ]
SELECT `b`.`id`,`b`.`title` FROM `maoyu_article_tags_mapping` `a` LEFT JOIN `maoyu_article_tags` `b` ON `a`.`tag_id`=`b`.`id` WHERE `a`.`article_id` = '382' LIMIT 0,3 [ RunTime:0.000285s ]
SELECT `b`.`id`,`b`.`title` FROM `maoyu_article_tags_mapping` `a` LEFT JOIN `maoyu_article_tags` `b` ON `a`.`tag_id`=`b`.`id` WHERE `a`.`article_id` = '383' LIMIT 0,3 [ RunTime:0.000275s ]
SELECT `b`.`id`,`b`.`title` FROM `maoyu_article_tags_mapping` `a` LEFT JOIN `maoyu_article_tags` `b` ON `a`.`tag_id`=`b`.`id` WHERE `a`.`article_id` = '384' LIMIT 0,3 [ RunTime:0.000265s ]
SELECT `b`.`id`,`b`.`title` FROM `maoyu_article_tags_mapping` `a` LEFT JOIN `maoyu_article_tags` `b` ON `a`.`tag_id`=`b`.`id` WHERE `a`.`article_id` = '440' LIMIT 0,3 [ RunTime:0.000264s ]
UPDATE `maoyu_article_tags` SET `click_num` = `click_num` + 1 WHERE `id` = 8 [ RunTime:0.020656s ]
SELECT `id`,`title` FROM `maoyu_article` WHERE `status` = 1 AND `rec` = 1 ORDER BY `click_num` DESC [ RunTime:0.000372s ]