Find all the top users for a tag and location

0

Please login or register to vote for this query.

(click on this box to dismiss)

As the title suggests, this query will find all users for a tag and city and lists them on bases of their rank.

Academia Meta

Q&A about the site for academics and those enrolled in higher education

-- Find all the top users for a tag and location

select distinct Users.Id, Users.DisplayName, Users.Reputation, Users.WebsiteURL, Users.Location, Users.EmailHash, Posts.Tags
from Users
join Posts
  on Posts.Id = Users.Id
where Users.Location like '%##Location##%'
and Posts.Tags like '%##Tags##%'
order by Users.Reputation desc

Enter Parameters

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