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.

Poker Meta

Q&A about the site for serious players and enthusiasts of poker

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

DECLARE @UserId int = ##UserId##

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

Enter Parameters

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