Created by samliew (http://stackoverflow.com/users/584192/samuel-liew)
Q&A for the craft of professional writing, including fiction, non-fiction, technical, scholarly, and commercial writing
-- 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##%') ORDER BY Reputation DESC;