How many comments do I have for each score.
Q&A about the site for members of the workforce navigating the professional setting
-- My Comment Score distribution -- How many comments do I have for each score. DECLARE @UserId int = ##UserId## SELECT Count(*) AS CommentCount, Score, Text FROM Comments WHERE UserId = @UserId GROUP BY Score, Text ORDER BY Score DESC