Gets the top n poster for a country of your choice
Q&A for Drupal developers and administrators
-- Top n posters for a given country -- Gets the top n poster for a country of your choice declare @TopCount INT = ##TopCount## SELECT TOP (@TopCount) Id, DisplayName, reputation, LastAccessDate, Age, Location FROM Users WHERE Location LIKE '##COuntry##%' ORDER BY Reputation DESC