SELECT Year(q.CreationDate), count(q.Id) as NQs, TagName ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

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
where TagName in ('java','javascript', 'python', 'HTML/CSS','SQL')
-- 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)

Enter Parameters

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