Q&A for professional and enthusiast programmers
-- My Comment Score distribution -- How many comments do I have for each score. DECLARE @UserId int = ##UserId## SELECT Text, Score, Id As [Comment Link] FROM Comments WHERE UserId = @UserId ORDER BY Score DESC