Compare Tag Activity

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow en español

Preguntas y respuestas para programadores y profesionales de la informática

select *, count(*) from
(
  select CAST(
      cast(DATEPART(YYYY, CreationDate) as varchar) + '-' + cast(DATEPART(MM, CreationDate) as varchar) + '-01'
    as datetime) [Month], 
    t.TagName
  from Posts p 
  join PostTags pt on pt.PostId = p.Id
  join Tags t on t.Id = pt.TagId
  where TagName in 
  (
    ##Tag1:string?javascript##, 
    ##Tag2:string?angularjs##,
    ##Tag3:string?dojo##,
    ##Tag4:string?google-closure##,
    ##Tag5:string?yui##,
    ##Tag6:string?backbonejs##,
    ##Tag7:string?jQuery##,
    ##Tag8:string?ember.js##,
    ##Tag9:string?knockout.js##,
    ##Tag10:string?canjs##
  )
) as X
group by TagName, [Month]
order by [Month] asc, TagName asc

Enter Parameters

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