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)

Motor Vehicle Maintenance and Repair Meta

Q&A about the site for mechanics and DIY enthusiast owners of cars, trucks, and motorcycles

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 main site
loading Hold tight while we fetch your results