Tag popular in location


Please login or register to vote for this query.

(click on this box to dismiss)

Japanese Language Meta

Q&A about the site for students, teachers, and linguists wanting to discuss the finer points of the Japanese language

--Thanks to https://data.stackexchange.com/stackoverflow/query/464894/top-tags-in-country?country=belgium

row_number() over(order by t.tagname, count(p.id) desc) as [#],
count(p.id) as [number of tag]
from users u 
inner join posts p on p.ownerUserid = u.id
inner join posttags pt on pt.postid = p.id
inner join tags t on t.id = pt.tagid
where 1=1
and t.tagname like ('%##tagname##%')
and u.location <> ''
group by t.tagname, u.location
order by t.tagname, count(p.id) desc

Enter Parameters

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