คำถามที่มีค่าหัวสูงสุด ไม่จำเป็นต้องใช้ทุกตาราง
Questions with highest amount of bounties.It is not neccessary to use all the tables.
 PostHistoryTypes:  Id [ number]  Name [ text] 
SELECT SUM(v.BountyAmount), p.Id AS "post_link", p.ViewCount FROM Posts AS p JOIN Votes AS v ON v.PostId = p.Id WHERE v.VoteTypeId = 8 GROUP BY p.Id, p.ViewCount ORDER BY SUM(v.BountyAmount) DESC LIMIT 500