Asked Questions per month for a given Tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness

Q&A for physical fitness professionals, athletes, trainers, and those providing health-related needs

SELECT
t.TagName,year(p.CreationDate) as year, month(p.CreationDate) as month, count(t.TagName) AS quantity 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 = '##TagName##'

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

Enter Parameters

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