select TagName, count(Id) as posts from (select a.Id, Tag...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

select TagName, count(Id) as posts
from
(select a.Id, TagName
from Posts a join PostTags b 
on a.Id = b.PostID
join Tags c
on b.TagID = c.Id 
where year(creationdate) = 2017
group by a.Id, TagName) a
group by TagName
order by posts

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results