Who gets the most of his/her reputation from bounties? Top 100, Total Rep > 2000

2

Please login or register to vote for this query.

(click on this box to dismiss)

Created as a copy of http://data.stackexchange.com/stackoverflow/s/490/top-25-bounty-players Displays top 25 users getting reputation from bounties. Ordered by percent of reputation gained from bounties. Only users with reputation >1k taken.

Stack Overflow

Q&A for professional and enthusiast programmers

-- Who gets the most of his/her reputation from bounties?
-- Created as a copy of http://data.stackexchange.com/stackoverflow/s/490/top-25-bounty-players
-- Displays top 25 users getting reputation from bounties. Ordered by
-- percent of reputation gained from bounties.
-- Only users with reputation >1k taken.

select top 100 (dense_rank() OVER (ORDER BY (sum(bountyamount)*100./users.reputation) DESC) -0) AS [Rank],
owneruserid [User Link],
              count(1) [Bounty Answers Provided], 
              sum(bountyamount) [Bounty Amount Won],
              users.reputation [Reputation],
              sum(bountyamount)*100./users.reputation [% Reputation gained on bounties]
from posts p,votes, users
 where p.id = postid
   and p.owneruserid=users.id
   and votetypeid = 9
   and users.reputation>2000
 group by owneruserid, users.reputation
 order by  6 desc

Enter Parameters

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