Tags that lack descriptions/excerpts


Please login or register to vote for this query.

(click on this box to dismiss)


Q&A for community managers, administrators, and moderators

select Tags.TagName, Tags.Count as 'Question count', MonthsAlive as 'Months til single-use auto destruct'
from Tags
left join (
select Tags.Id as TagId, (6 - DATEDIFF(month, Posts.CreationDate, GETDATE())) as MonthsAlive
  from PostTags
    inner join Tags
      on PostTags.TagId = Tags.Id
    inner join Posts
      on PostTags.PostId = Posts.Id
  where Tags.Count <= 1
) as TagUsage on TagUsage.TagId = Tags.Id
where ExcerptPostId is null
order by
  case when MonthsAlive is null then 99 else MonthsAlive end,
  Tags.Count desc

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results