Q&A about the site for users of Wolfram Mathematica
--Select the top 2 users (Id) and their DisplayName by total BountyAmount select top 2 u.id, u.DisplayName, sum(v.BountyAmount) total from users u join Posts p on u.id=p.OwnerUserId join Votes v on p.Id=v.PostId group by u.id,u.DisplayName order by total desc ;