Users with highest reputation earned from bounties in a specific tag

1

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Different

Q&A for power users of Apple hardware and software

SELECT TOP(##num?500##)
p.OwnerUserId AS [User Link],
p.OwnerDisplayName,
SUM(bs.BountyAmount) AS [Rep from bounties]
FROM Posts p INNER JOIN Votes bs 
  ON (p.Id = bs.PostId) AND (bs.VoteTypeId = 9)  -- BountyClose
  INNER JOIN PostTags pt ON p.ParentId = pt.PostId
  INNER JOIN Tags t ON pt.TagId = t.Id
WHERE t.TagName =##tagname:string?calculus##  
GROUP BY p.OwnerUserId, p.OwnerDisplayName      
ORDER BY SUM(bs.BountyAmount) DESC

Enter Parameters

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