Pundit progress

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

-- My comments, ordered by score (Pundit badge progress)

DECLARE @UserId int = ##UserId##

SELECT 
    Comments.Score,
    Comments.Id as [Comment Link],
    -- PostId as [Post Link],
    -- PostId,
    -- Posts.ParentId,
    Comments.CreationDate
FROM 
    Comments 
WHERE 
    UserId = @UserId and Comments.Score > 0
ORDER BY 
    Comments.Score DESC

Enter Parameters

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