How many comments do I have for each score.
Q&A for GenAI enthusiasts and practitioners and those interested in learning more about using GenAI tools
DECLARE @UserId int = ##UserId## SELECT c.* FROM Comments c WHERE UserId = @UserId ORDER BY Score DESC