List of users by reputation score by country.
Q&A for developers and researchers interested in open data
-- 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;