How many comments do I have for each score.
Q&A for folks dedicated to a lifestyle that can be maintained indefinitely without depleting available resources
-- My Comment Score distribution -- How many comments do I have for each score. DECLARE @UserId int = ##UserId## SELECT Count(*) AS CommentCount, Score, id as [comment link] FROM Comments WHERE UserId = @UserId GROUP BY Score, id ORDER BY Score DESC