Tag popular in location


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

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

row_number() over(order by count(p.id) desc) as [#],
-- u.location,
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 count(p.id) desc

Enter Parameters

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