How many posts are reopened per month?

0

Please login or register to vote for this query.

(click on this box to dismiss)

Engineering

Q&A for professionals and students of engineering

select
  datepart(mm, CreationDate) as [month]
  ,datepart(yyyy, CreationDate) as [year]
  ,count(1) as reopens
from
   PostHistory
where
  PostHistoryTypeId = 11  -- Reopen
group by
  datepart(mm, CreationDate)
  ,datepart(yyyy, CreationDate)
 order by 
  datepart(yyyy, CreationDate)
  ,datepart(mm, CreationDate)

Enter Parameters

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