My comments, ordered by score (Pundit badge progress)

0

Please login or register to vote for this query.

(click on this box to dismiss)

My Comments, ordered by Score 2

Internet of Things Meta

Q&A about the site for builders and users of networked sensors and control devices in the contexts of smart homes, industry automation, or environmental sensors

-- My Comment Score distribution
-- How many comments do I have for each score.

DECLARE @UserId int = ##UserId##

SELECT 
    Comments.Score,
    Text,
    Posts.Title,
    Posts.Id
    ParentId
FROM 
    Comments join Posts on Comments.PostId = Posts.Id
WHERE 
    UserId = @UserId and Comments.Score > 0
ORDER BY 
    Comments.Score DESC

Enter Parameters

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