อันดับผู้ใช้ตามชื่อเสียง ไม่จำเป็นต้องใช้ตารางทั้งหมด
A User Rank by Reputation.It is not neccessary to use all the tables.
 PendingFlags:  Id [ number]  FlagTypeId [ number]  PostId [ number]  CreationDate [ time]  CloseReasonTypeId [ number]  CloseAsOffTopicReasonTypeId [ number]  DuplicateOfQuestionId [ number]  BelongsOnBaseHostAddress [ text] 
SELECT T2.Position, T2.Id AS "user_link", T2.Reputation FROM (SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS Position, Id, Reputation FROM Users) AS T2 WHERE T2.Id = @UserId