Closed questions per month for a given tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Music Fans Meta

Q&A about the site for music historians, critics, and fans

SELECT -- TOP 20
t.TagName,year(p.CreationDate), month(p.CreationDate), count(t.TagName) AS d FROM Tags AS t 
INNER JOIN Posttags pt ON t.Id = pt.TagId
INNER JOIN Posts P ON p.Id = pt.PostId
where t.TagName = '##TagNam##' and p.ClosedDate IS NOT NULL

GROUP BY year(p.CreationDate), month(p.CreationDate), t.TagName
order by year(p.CreationDate), month(p.CreationDate)

Enter Parameters

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