Percentage of deleted questions (breakdown by month when created)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Physics

Q&A for active researchers, academics and students of physics

SELECT eomonth(CreationDate),
ROUND((COUNT(DeletionDate))*100.0/(COUNT(*)),2) AS percentage
FROM PostsWithDeleted
WHERE PostTypeId=1
GROUP BY eomonth(CreationDate)
ORDER BY eomonth(CreationDate)
---Posts which are not deleted have DeletionDate NULL
---So COUNT(DeletionDate) only counts Deleted Posts

Enter Parameters

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