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