Q&A about the site for professionals and students of engineering
-- Top 15 users from Madhya Pradesh India SELECT TOP 15 ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], Id AS [User Link], Reputation, Location FROM Users WHERE LOWER(Location) LIKE '%Madhya Pradesh%' OR UPPER(Location) LIKE '%Madhya Pradesh%' or Location like '%Madhya Pradesh%' AND Reputation >= 1000 ORDER BY Reputation DESC;