Questions with more than 5 tags edited by Community user

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select distinct
  Posts.Id as [Post Link], 
  count (distinct TagId) as NumTags,
  PH.Comment,
  PH.CreationDate
from
  Posts
  left join PostHistory as PH on PH.PostId = Posts.Id
  join PostTags as PT on PT.PostId = Posts.Id
where
  Posts.PostTypeId = 1
  and
  PH.UserId = -1
group by
  Posts.Id,
  PH.Comment,
  PH.CreationDate
having count(distinct TagId) > 5
order by
  PH.Comment
asc

Enter Parameters

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