Amount of moderator procedures

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 Month = DATEADD(MONTH, DATEDIFF(MONTH, 0, CreationDate), 0), 
       'Amount of moderator procedures' = COUNT(*)
FROM PostHistory
WHERE PostHistoryTypeId IN (14, 15, 19, 20, 27, 29, 53)
GROUP BY DATEADD(MONTH, DATEDIFF(MONTH, 0, CreationDate), 0)
ORDER BY Month

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results