Top 25 Bounty Players

0

Please login or register to vote for this query.

(click on this box to dismiss)

Query to Fetch the Top 25 Bounty Answerers

Stack Overflow

Q&A for professional and enthusiast programmers

-- Top 25 Bounty Players
-- Query to Fetch the Top 25 Bounty Answerers


select top 25 owneruserid [User Link],
              count(1) [Bounty Answers Provided], 
              sum(bountyamount) [Bounty Amount Won] 
from posts p,votes 
 where p.id = postid
   and votetypeid = 9
 group by owneruserid 
 order by  2 desc

Enter Parameters

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