My Comment Score distribution

214

Please login or register to vote for this query.

(click on this box to dismiss)

How many comments do I have for each score.

Health

Q&A for professionals in medical and allied health fields, students of those professions, related academics, and others with a sound understanding of medicine and healthcare-related sciences

DECLARE @UserId int = ##UserId##

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

Enter Parameters

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