Q&A about the site for administrators, end users, developers and designers for Craft CMS
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