Percentage of closed, deleted questions per month over time

1

Please login or register to vote for this query.

(click on this box to dismiss)

Audio-Video Production Meta

Q&A about the site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation

SELECT Year, Month, DeletionStatus, COUNT(*) AS N
FROM (
  SELECT
    Id,
    DATEPART(yyyy, CreationDate) AS Year,
    DATEPART(mm, CreationDate) AS Month,
    CASE
      WHEN DeletionDate IS NULL THEN 'not deleted'
      ELSE 'deleted'
    END AS DeletionStatus
  FROM PostsWithDeleted
  WHERE PostTypeId IN (1,2)) p
GROUP BY Year, Month, DeletionStatus
ORDER BY Year, Month, DeletionStatus

Enter Parameters

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