Amount of my bounties by 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
  t.TagName,
  SUM(v.BountyAmount) [Reputation offered] 
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) AND (v.UserId=##userid##) 
GROUP BY t.TagName 
ORDER BY SUM(v.BountyAmount) DESC

Enter Parameters

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