Question 56786655

0

Please login or register to vote for this query.

(click on this box to dismiss)

How many comments do I have for each score.

Science Fiction and Fantasy Meta

Q&A about the site for science fiction and fantasy enthusiasts

--DECLARE @Id int = ##QuestionId##

SELECT p.Id, p.title, p.AcceptedAnswerId, p.Body, p.ParentId,
        p.OwnerUserId, p.OwnerDisplayName, p.AnswerCount, p.CommentCount,
        c.Text, c.UserId, c.UserDisplayName
FROM 
    Posts p
JOIN Comments c ON p.Id = c.PostId
WHERE 
    p.Id   = 56786655

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results