How many comments do I have for each score.
Q&A for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation
DECLARE @UserId int = ##UserId## SELECT Count(*) AS CommentCount, Score FROM Comments WHERE UserId = @UserId GROUP BY Score ORDER BY Score DESC