What percentage of questions have been deleted?

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 100.0 * (select count(*)
                from PostsWithDeleted
                where PostTypeId = 1
                       and DeletionDate is not null)
       /count(*) '% deleted'
from PostsWithDeleted
where PostTypeId = 1

Enter Parameters

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