This displays the top 1000 people near the location specified.
Q&A for professional and enthusiast programmers
select top 1000 u.id as [User ID], u.displayname as [User Name], u.reputation as [User Rep] from users u where upper(u.location) like upper('%' + ##YourLocation:string## + '%') -- uppercase location-- ORDER BY u.reputation DESC, u.UpVotes DESC