用户次数:INSERT INTO author_times (author, times, authorid) SELECT * FROM (SELECT DISTINCT author, Count(author9), authorid FROM pre_forum_post GROUP BY author) test_time 帖子评论数 INSERT INTO tid_times (tid, times) SELECT * FROM (SELECT DISTINCT tid, Count(tid) FROM pre_forum_post GROUP BY tid) tid_times