This query lists all users in a given location sorted by reputation.
Q&A about the site for professionals in medical and allied health fields, students of those professions, related academics, and others with a sound understanding of medicine and healthcare-related sciences
-- 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 '%##location##%'
order by reputation desc