Investor users ranked by total bounty spending on bounties.
This may vary from the value listed in users' profiles because this includes (all?) bounties on deleted posts, which are not included in profiles.
Q&A for physical fitness professionals, athletes, trainers, and those providing health-related needs
AVG(UserId) as [User Link],
SUM(BountyAmount) as [Bounty Spending],
CAST(SUM(BountyAmount) AS float) / AVG(u.Reputation) as [Bounty Spending:Reputation ratio],
REPLICATE('|', 10 * CAST(SUM(BountyAmount) AS float) / AVG(u.Reputation)) as [...]
FROM Users u
INNER JOIN Votes v ON v.UserId = u.Id
WHERE u.Id > 0
AND v.VoteTypeId = 8 -- BountyStart
GROUP BY u.Id
ORDER BY SUM(BountyAmount) DESC