Q&A for professional and enthusiast programmers
SELECT Year(q.CreationDate), count(q.Id) as NQs, TagName from PostTags pt join Posts q on q.Id=pt.PostId join Tags t on t.Id=pt.TagId -- posts are questions and q.PostTypeId = 1 -- question isn't closed AND q.ClosedDate IS NULL -- questsion doesn't have answers AND q.AnswerCount = 0 GROUP BY Year(q.CreationDate), TagName ORDER BY Year(q.CreationDate)