Q&A about the site for expert genealogists and people interested in genealogy or family history
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;