Posts by month, with deleted


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 PostTypeId, year(CreationDate) as Y, month(CreationDate) as M, count(*) as n
from PostsWithDeleted
where PostTypeId in (1,2)
group by PostTypeId, year(CreationDate), month(CreationDate)

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results