Users' upvotes


Please login or register to vote for this query.

(click on this box to dismiss)

A bit more unbiased insight than reputation


Q&A for those using, extending or developing Emacs

-- Users' upvotes
-- A bit more unbiased insight than reputation

  Users.Id as [User Link],
  Users.Reputation as Rep,
  sum(CASE WHEN VoteTypeId=2 THEN 1 END) AS totalUpvotes,
  sum(CASE WHEN  VoteTypeId=2 AND PostTypeId=1 THEN 1 END) AS totalQueUpvotes, 
  sum(CASE WHEN  VoteTypeId=2 AND PostTypeId=2 THEN 1 END) AS totalAnsUpvotes
FROM Votes INNER JOIN Posts ON Posts.Id=Votes.PostId 
 INNER JOIN Users ON Users.Id=Posts.OwnerUserId
GROUP BY Users.Id, Users.Reputation
ORDER BY Users.Reputation DESC

Enter Parameters

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