This query lists all users in a given location sorted by reputation. It tries to do this in a case-Insensitive manner. This q
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