SHOW FULL COLUMNS FROM `maoyu_article_tags` [ RunTime:0.002836s ]
SELECT `id`,`title`,`click_num` FROM `maoyu_article_tags` WHERE `id` = 1063 AND `status` = 1 LIMIT 1 [ RunTime:0.002174s ]
SHOW FULL COLUMNS FROM `maoyu_article_tags_mapping` [ RunTime:0.001541s ]
SELECT COUNT(*) AS think_count FROM `maoyu_article_tags_mapping` WHERE `tag_id` = 1063 [ RunTime:0.000218s ]
SHOW FULL COLUMNS FROM `maoyu_article` [ RunTime:0.001559s ]
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` = '1063' [ RunTime:0.000373s ]
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` = '1063' LIMIT 0,10 [ RunTime:0.000432s ]
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` = '275' LIMIT 0,3 [ RunTime:0.000748s ]
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` = '536' LIMIT 0,3 [ RunTime:0.000553s ]
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` = '766' LIMIT 0,3 [ RunTime:0.000813s ]
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` = '958' LIMIT 0,3 [ RunTime:0.000250s ]
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` = '1063' LIMIT 0,3 [ RunTime:0.000252s ]
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` = '1071' LIMIT 0,3 [ RunTime:0.000309s ]
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` = '1072' LIMIT 0,3 [ RunTime:0.000322s ]
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` = '1073' LIMIT 0,3 [ RunTime:0.000234s ]
UPDATE `maoyu_article_tags` SET `click_num` = `click_num` + 1 WHERE `id` = 1063 [ RunTime:0.002882s ]
SELECT `id`,`title` FROM `maoyu_article` WHERE `status` = 1 AND `rec` = 1 ORDER BY `click_num` DESC [ RunTime:0.000196s ]