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, LastAccessDate, Views, UpVotes, Age FROM Users WHERE LOWER(Location) LIKE '%athens%' or LOWER(Location) LIKE '%greece%' or LOWER(Location) LIKE '%ellas%' ORDER BY Reputation DESC;