Q&A for computer enthusiasts and power users
SELECT p.id, p.creationdate, Count(*) as CommentCount from posts p inner join Comments c on c.PostId = p.Id group by p.id, p.title, p.creationdate, CommentCount having CommentCount > 10 order by commentcount desc