Q&A for Ubuntu users and developers
-- top users: Turkey -- List of Turkey-based users by reputation score. Query, naturally, by a turkish user. -- -- This is the original query! SELECT TOP (100) ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], Id AS [User Link], Reputation FROM Users WHERE LOWER(Location) LIKE '%Germany%' OR UPPER(Location) LIKE '%DE' OR UPPER(Location) LIKE 'Berlin' ORDER BY Reputation DESC;