Cross-network mercenaries

1

Please login or register to vote for this query.

(click on this box to dismiss)

People by MIN(OfferedRep, WonRep), Network-wide

Raspberry Pi

Q&A for users and developers of hardware and software for Raspberry Pi

SELECT
  Users.AccountId,
  MIN(Users.DisplayName) AS UserName,
  SUM(Votes.BountyAmount) AS BountyAmount
FROM Votes, Posts, Users
WHERE
  Votes.VoteTypeId = 9
  AND
  Votes.BountyAmount IS NOT NULL
  AND
  Votes.PostId = Posts.Id
  AND
  Posts.OwnerUserId = Users.Id
  AND
  Posts.PostTypeId = 2
GROUP BY Users.AccountId
ORDER BY BountyAmount DESC

Enter Parameters

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