My Comment Score distribution

64

Please login or register to vote for this query.

(click on this box to dismiss)

How many comments do I have for each score.

Programmers Meta

Q&A about the site for expert programmers interested in professional discussions on software development

DECLARE @UserId int = ##UserId##

SELECT 
    Count(*) AS CommentCount,
    Score
FROM 
    Comments
WHERE 
    UserId = @UserId
GROUP BY 
    Score
ORDER BY 
    Score DESC

Enter Parameters

Options:
loadingHold tight while we fetch your results
:records rows returned in :time ms:cached