Q&A for professional and enthusiast programmers
-- top users: Chennai(India)
-- List of Chennai-based users by reputation score.
-- Created by Avinash Raj (http://stackoverflow.com/users/3297613)
ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#],
Id AS [User Link],
LOWER(Location) LIKE '%Chennai%'
OR UPPER(Location) LIKE '%chennai%'
or Location like '%Chennai%'
AND Reputation >= 1000