Get top users by country
Q&A for Ubuntu users and developers
-- Get top users by country -- Get top users by country SELECT ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], Id AS [User Link], Reputation FROM Users WHERE LOWER(Location) LIKE '%athens%' or LOWER(Location) LIKE '%greece%' or Location LIKE '%Greece%' or LOWER(Location) LIKE '%ellas%' ORDER BY Reputation DESC;