Q&A about the site for professional and independent game developers
SELECT ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], Id AS [User Link], Reputation, LastAccessDate FROM Users WHERE LOWER(Location) LIKE '%damascus%' OR UPPER(Location) LIKE '%DAMASCUS%' or Location like '%Damascus%' AND Reputation >= 1000 ORDER BY Reputation DESC;