How many comments do I have for each score.
Q&A for developers and researchers interested in open data
DECLARE @UId int = ##UId## SELECT Count(*) AS CommentCount, Score FROM Comments WHERE UserId = @UId GROUP BY Score ORDER BY Score DESC