Users by total bounty given

2

Please login or register to vote for this query.

(click on this box to dismiss)

Returns, for each user, the total amount of reputation offered as bounty, the number of bounties offered, and current reputation, ordered by the total reputation offered.

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT TOP 10
  Votes.UserId AS [User Link],
  SUM(Votes.BountyAmount) AS [Bounty Total]
FROM
  Votes
  INNER JOIN Users ON Votes.UserId = Users.Id
WHERE
  Votes.VoteTypeId = 8  -- BountyStart
  AND Votes.UserId > -1 -- Remove Community user
GROUP BY
  Votes.UserId
ORDER BY
  SUM(Votes.BountyAmount) DESC

Enter Parameters

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