Q&A about the site for students, researchers and practitioners of computer science
SELECT date1, count(id) as cnt, tag FROM ( select Posts.Id, ViewCount, Tags.TagName as [tag], FORMAT (Posts.CreationDate, 'yyyy') as [date1] from Posts join PostTags on Posts.Id = PostTags.PostId join Tags on Tags.Id = PostTags.TagId where PostTypeId = 1 ) as t1 group by date1, tag order by date1