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, PostId, Id FROM Comments WHERE UserId = @UserId GROUP BY Score, Text, PostId, Id ORDER BY Score DESC