My Comment Score distribution

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.

Webmasters

Q&A for pro webmasters

-- My Comment Score distribution
-- How many comments do I have for each score.

DECLARE @UserId int = ##UserId##

SELECT 
    Count(*) AS VoteCount,
    Score
FROM 
    Posts
WHERE 
    OwnerUserId = @UserId
GROUP BY 
    Score
ORDER BY 
    Score DESC

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results