Q&A about the site for serious players and enthusiasts of chess
select top 10 owneruserid as id, count(*) as post_comm_count from posts join comments on owneruserid = userid where posts.creationdate >= datefromparts(year(getdate()) - 5,1,1) and comments.creationdate >= datefromparts(year(getdate()) - 5,1,1) group by owneruserid order by post_comm_count desc;