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.

The Great Outdoors

Q&A for people who love being outdoors enjoying nature and wilderness, and learning about the required skills and equipment

DECLARE @UserId int = ##UserId##

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

Enter Parameters

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