Top comments

0

Please login or register to vote for this query.

(click on this box to dismiss)

Computational Science

Q&A for scientists using computers to solve scientific problems

DECLARE @UserId int = ##UserId##

SELECT TOP 10
    Posts.Id AS [Post Link], Comments.CreationDate date, Comments.Score
FROM Comments
    INNER JOIN Posts ON Posts.Id = PostId
WHERE 
    UserId = @UserId
ORDER BY 
    Score DESC, Comments.CreationDate DESC

Enter Parameters

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