Q&A for students, teachers, polyglots, and anyone interested in the techniques of second-language acquisition
DECLARE @UserId int = ##UserId## SELECT ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], Id AS [User Link], Reputation FROM Users WHERE Id = @UserId ORDER BY Reputation DESC;