Deleted answers by month

1

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 
 datefromparts(year(DeletionDate), month(DeletionDate), 1),
 count(datefromparts(year(DeletionDate), month(DeletionDate), 1))
from PostsWithDeleted
where PostTypeId=2 and DeletionDate is not null
group by datefromparts(year(DeletionDate), month(DeletionDate), 1)
order by datefromparts(year(DeletionDate), month(DeletionDate), 1);

Enter Parameters

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