ผู้ใช้ที่มีป้ายสถานะไม่ซ้ำใครมากที่สุด ผู้ใช้ที่ได้รับการตกแต่งมากที่สุดไม่จำเป็นต้องใช้ตารางทั้งหมด
Users with most unique badges. Most decorated usersIt is not neccessary to use all the tables.
 Posts:  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(*) DESC) AS rank, UserId AS "user_link", COUNT(DISTINCT Name) AS badges FROM Badges WHERE TagBased != 0 GROUP BY UserId ORDER BY Badges DESC LIMIT 500