This displays the top 1000 people near the location specified.
Q&A about the site for Joomla! administrators, users, developers and designers
select top 1000
u.id as [User Link],
u.displayname as [User Name],
u.reputation as [User Rep]
from users u
where upper(u.location) like upper('%' + ##YourLocation:string## + '%') -- uppercase location