Total Questions and Answers per Month for the last 12


Please login or register to vote for this query.

(click on this box to dismiss)

Total number of questions and answers for the last 12 months (in 30 day chunks)

Home Improvement

Q&A for contractors and serious DIYers

select *, count(*) from
  select CAST(
      cast(DATEPART(YYYY, CreationDate) as varchar) + '-' + cast(DATEPART(MM, CreationDate) as varchar) + '-01'
    as datetime) [Month], 
  from Posts p 
  join PostTags pt on pt.PostId = p.Id
  join Tags t on t.Id = pt.TagId
  where TagId in 
    select top 10 Id from Tags 
    where TagName in ('marmalade','collision-detection','physics','animation','multiplayer','game-engine',
    order by Count desc
) as X
group by TagName, [Month]
order by [Month] asc, TagName asc

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results