This query lists all users in Tasmania sorted by reputation.
Q&A for administrators and users of the CiviCRM Constituent Relationship Management software
-- List of Users in a given location -- This query lists all users in a given location sorted by reputation. -- Declare @location varchar = ##location## select Id as [User Link], location, reputation from users where location like '%Tasmania%' order by reputation desc