How many comments do I have for each score.
Q&A for professional and enthusiast programmers
DECLARE @UserId int = ##UserId## SELECT * FROM Comments WHERE UserId = @UserId ORDER BY Score DESC