SHOW FULL COLUMNS FROM `maoyu_article_tags` [ RunTime:0.006002s ]
SELECT `id`,`title`,`click_num` FROM `maoyu_article_tags` WHERE `id` = 217 AND `status` = 1 LIMIT 1 [ RunTime:0.003415s ]
SHOW FULL COLUMNS FROM `maoyu_article_tags_mapping` [ RunTime:0.005054s ]
SELECT COUNT(*) AS think_count FROM `maoyu_article_tags_mapping` WHERE `tag_id` = 217 [ RunTime:0.001707s ]
SHOW FULL COLUMNS FROM `maoyu_article` [ RunTime:0.002685s ]
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` = '217' [ RunTime:0.001874s ]
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` = '217' LIMIT 30,10 [ RunTime:0.001077s ]
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` = '591' LIMIT 0,3 [ RunTime:0.002008s ]
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` = '642' LIMIT 0,3 [ RunTime:0.000279s ]
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` = '654' LIMIT 0,3 [ RunTime:0.000267s ]
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` = '655' 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` = '679' LIMIT 0,3 [ RunTime:0.000257s ]
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` = '699' LIMIT 0,3 [ RunTime:0.000267s ]
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` = '701' LIMIT 0,3 [ RunTime:0.000256s ]
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` = '702' LIMIT 0,3 [ RunTime:0.000279s ]
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` = '716' LIMIT 0,3 [ RunTime:0.000282s ]
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` = '1091' LIMIT 0,3 [ RunTime:0.000263s ]
UPDATE `maoyu_article_tags` SET `click_num` = `click_num` + 1 WHERE `id` = 217 [ RunTime:0.019770s ]
SELECT `id`,`title` FROM `maoyu_article` WHERE `status` = 1 AND `rec` = 1 ORDER BY `click_num` DESC [ RunTime:0.000216s ]