How many comments do I have for each score.
Q&A for the craft of professional writing, including fiction, non-fiction, technical, scholarly, and commercial writing
DECLARE @UserId int = ##UserId## SELECT Count(*) AS CommentCount, Score FROM Comments WHERE UserId = @UserId GROUP BY Score ORDER BY Score DESC