Q&A for apps, scripts, and development with the Stack Exchange API
-- Top 15 users from Madhya Pradesh India
SELECT TOP 15
ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#],
Id AS [User Link],
LOWER(Location) LIKE '%Madhya Pradesh%'
OR UPPER(Location) LIKE '%Madhya Pradesh%'
or Location like '%Madhya Pradesh%'
AND Reputation >= 1000