โหวตเพิ่มคำตอบต่อผู้ใช้ ไม่จำเป็นต้องใช้ตารางทั้งหมด
Upvotes on Answers Per User.It is not neccessary to use all the tables.
 PostsWithDeleted:  Id [ number]  PostTypeId [ number]  AcceptedAnswerId [ number]  ParentId [ number]  CreationDate [ time]  DeletionDate [ time]  Score [ number]  ViewCount [ number]  Body [ text]  OwnerUserId [ number]  OwnerDisplayName [ text]  LastEditorUserId [ number]  LastEditorDisplayName [ text]  LastEditDate [ time]  LastActivityDate [ time]  Title [ text]  Tags [ text]  AnswerCount [ number]  CommentCount [ number]  FavoriteCount [ number]  ClosedDate [ time]  CommunityOwnedDate [ time]  ContentLicense [ text] 
SELECT ROW_NUMBER() OVER (ORDER BY COUNT(v.Id) DESC), p.OwnerUserId AS "user_link", COUNT(v.Id) AS Upvotes, COUNT(p.Id) AS Answers FROM Posts AS p LEFT JOIN Votes AS v ON p.Id = v.PostId WHERE p.PostTypeId = 2 AND v.VoteTypeId = 2 GROUP BY p.OwnerUserId ORDER BY COUNT(v.Id) DESC