How many comments do I have for each score.
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