我有以下表格:
表格如下:follow_id, follow_followerid, follow_followingid
表学生:student_id, student_username, student_firstname, student_lastname
表状态:status_id, status_body, status_date
表forum_thread:forum_thread_body, forum_thread_title, forum_thread_date, forum_thread_priority, forum_thread_userid, forum_thread_firstname, forum_thread_lastname, forum_thread_username, forum_thread_avatar, forum_thread_id
表forum_post:forum_post_body, forum_post_userid, forum_post_date, forum_post_threadid, forum_post_firstname, forum_post_lastname, forum_post_username, forum_post_avatar, forum_post_id
我想计算最活跃的用户,即状态,评论,帖子和帖子回复最多的用户。
我该如何计算?