Tagged Zombie TimeSeries

13

Please login or register to vote for this query.

(click on this box to dismiss)

Blender Meta

Q&A about the site for people who use Blender to create 3D graphics, animations, or games

declare @epoch as date = DateAdd(week, -1 - ##Weeks:int?52##, CURRENT_TIMESTAMP)
;

    select TOP ##TopTags:int?15##
           ROW_NUMBER() over (order by count(*) desc) as Rank,
           pt.TagId as TagId,
           count (*) as ZombieCount
    into #toptags
    from PostTags pt, Posts p
    where IsNull(p.AnswerCount, 0) = 0
      and p.Id = pt.PostId
      and p.PostTypeId = 1
      and p.CommunityOwnedDate is null
      and p.ClosedDate is null
    group by pt.TagId
    order by count(*) desc


Select * from #toptags

Enter Parameters

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