Tags that lack descriptions/excerpts

1

Please login or register to vote for this query.

(click on this box to dismiss)

Moderators

Q&A for community managers, administrators, and moderators

select Tags.TagName, Tags.Count as 'Question count', MonthsTilAutoDestruct
from Tags
left join (
select Tags.Id as TagId, (6 - DATEDIFF(month, Posts.CreationDate, GETDATE())) as MonthsTilAutoDestruct
  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
  MonthsTilAutoDestruct asc,
  Tags.Count desc

Enter Parameters

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