Created by samliew (http://stackoverflow.com/users/584192/samuel-liew)
Q&A about the site for operations research and analytics professionals, educators, and students
-- Top Users by Country -- Created by samliew (http://stackoverflow.com/users/584192/samuel-liew) SELECT ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], Id AS [User Link], Reputation FROM Users WHERE LOWER(Location) LIKE LOWER('%##CountryName##%') and Reputation >=2674 ORDER BY Reputation DESC;