Most Bountiful Users

1

Please login or register to vote for this query.

(click on this box to dismiss)

Sums up the bounty amounts users have given. Also ranks them based on their total bounty amounts and gives a percentage of total bounty over their current rep as well as total bounty over their supposed rep if they weren't rep-capped.

Amateur Radio

Q&A for amateur radio enthusiasts

SELECT TOP 50
ROW_NUMBER() OVER(PARTITION BY Users.Id ORDER BY Users.Id) AS [Row],
Users.Id AS [User Link],
Users.Reputation AS [Current Rep],
SUM(Votes.BountyAmount) AS [Bounty Amount],
COUNT(Votes.BountyAmount) AS [Number of Bounties],
Users.Reputation / SUM(Votes.BountyAmount) AS [Percentage of Rep]
FROM Votes
  INNER JOIN Users
    ON Votes.UserId = Users.Id
GROUP BY Users.Id,
  Users.Reputation
ORDER BY SUM(Votes.BountyAmount) DESC;

Enter Parameters

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