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 is much slower than the original it was forked from. Not sure about case-sensitivity, though.

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(50) 

set @location = ##location:string##
set @location  = lower( @location )

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

Enter Parameters

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