List of Users in a given location (case insensitive)

0

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. It tries to do this in a case-Insensitive manner. This query

Artificial Intelligence

Q&A for people interested in conceptual questions about life and challenges in a world where "cognitive" functions can be mimicked in purely digital environment

-- List of Users in a given location
-- This query lists all users in a given location sorted by reputation.

Declare @location varchar = ##location:string##
select @location = lower(@location) 
--select @location = lower( ##location## )

select  Id as [User Link], location, reputation from users
where lower(location) = @location
order by reputation desc

Enter Parameters

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