List of users by reputation score by country.
Q&A for linguists, teachers and students of the Korean language
-- 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, Age FROM Users WHERE LOWER(Location) LIKE lower('%##Country##%') ORDER BY Reputation DESC;