Tags with the most bounties


Please login or register to vote for this query.

(click on this box to dismiss)

Quantitative Finance Meta

Q&A about the site for finance professionals and academics

SELECT TOP(##num?100##)
  SUM(v.BountyAmount) [Total amount],
  COUNT(v.Id) [Number of bounties]
FROM Votes v INNER JOIN Posts p ON v.PostId=p.Id
  INNER JOIN PostTags pt ON p.Id = pt.PostId
  INNER JOIN Tags t ON pt.TagId = t.Id
WHERE (v.VoteTypeId=8) 
--- 8 = BountyStart (UserId and BountyAmount will also be populated)
GROUP BY t.TagName 
ORDER BY SUM(v.BountyAmount) DESC

Enter Parameters

Switch to main site
loading Hold tight while we fetch your results