Top 100 users by the downvotes got

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

SELECT TOP 100
  Posts.OwnerUserId AS [User Link],
  Posts.OwnerUserId,
  COUNT(*) AS Count
FROM Posts, Votes
WHERE
  Posts.Id = Votes.PostId
  AND
  Votes.VoteTypeId = 3
  AND
  Posts.OwnerUserId IS NOT NULL
GROUP BY Posts.OwnerUserId
ORDER BY Count DESC, Posts.OwnerUserId

Enter Parameters

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