Q&A for professional and enthusiast programmers
select top 20 p.id, p.id as [Post Link], p.creationdate, commentcount, text from comments c join posts p on p.id=c.postid where posttypeid=1 and p.id=c.postid