Q&A about the site for scientists using computers to solve scientific problems
-- top users: Turkey -- List of Turkey-based users by reputation score. Query, naturally, by a turkish user. -- -- This is the original query! SELECT TOP (50) ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], Id AS [User Link], Reputation FROM Users WHERE LOWER(Location) LIKE '%egypt%' OR UPPER(Location) LIKE '%eg' OR UPPER(Location) LIKE 'CAIRO' OR LOWER(Location) LIKE 'cairo' OR UPPER(Location) LIKE 'EGYPT' OR LOWER(Location) LIKE 'egypt' ORDER BY Reputation DESC;