Questions under a tag per month

1

Please login or register to vote for this query.

(click on this box to dismiss)

Physics

Q&A for active researchers, academics and students of physics

select P.Mon, count(P.Id)
from (
  select P.Id
  , cast(datepart(month, P.CreationDate) - 1 as real)/12 + datepart (year, P.CreationDate) as Mon
  from Posts P
  ) P
inner join PostTags PT on PT.PostId = P.Id
inner join Tags T on T.Id = PT.TagId
where T.TagName = '##TagName##'
group by P.Mon
order by P.Mon

-- compiler-construction

Enter Parameters

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