Q&A for SharePoint enthusiasts
-- Which tags have the most closed questions? select Tags.TagName, Count(*) AS ClosedCount from Tags inner join PostTags on PostTags.TagId = Tags.id inner join Posts on PostTags.PostId = Posts.Id where Posts.ClosedDate is not null group by Tags.TagName order by ClosedCount desc