List of Singapore-based users by reputation score. Query, naturally, by a Singaporean user. This is the original query!
Q&A for system and network administrators
-- top users: Singapore -- List of Singapore-based users by reputation score. Query, naturally, by a Singaporean user. -- -- This is the original query! DECLARE @country varchar(20) = '##Country##'; SELECT ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], Id AS [User Link], Reputation FROM Users WHERE LOWER(Location) LIKE '%##country##%' ORDER BY Reputation DESC;