Q&A for professional and enthusiast programmers
SELECT p.id as [Post Link], 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 > 30 order by commentcount desc