My Best Comments

3

Please login or register to vote for this query.

(click on this box to dismiss)

Anime and Manga

Q&A for anime and manga fans

-- My Best Comments

DECLARE @UserId int = ##UserId##

SELECT TOP 10 WITH TIES
    Text,
    PostId [Post Link],
    Score,
    Count(*) OVER (PARTITION BY Score) AS NumberSameScore
FROM 
    Comments
WHERE 
    UserId = @UserId AND Score > 3
ORDER BY 
    Score DESC

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results