My top N comments by vote score

0

Please login or register to vote for this query.

(click on this box to dismiss)

How many comments do I have for each score.

Role-playing Games

Q&A for gamemasters and players of tabletop, paper-and-pencil role-playing games

DECLARE @UserId int = ##UserId##

SELECT top 50
    
    Text,
    Score
FROM 
    Comments
WHERE 
    UserId = @UserId
ORDER BY 
    Score DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results