List of Users in a given location

22

Please login or register to vote for this query.

(click on this box to dismiss)

This query lists all users in a given location sorted by reputation.

Freelancing Meta

Q&A about the site for self-employed and freelance workers

-- 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

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results