Average length to close a question in 2013

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      CEILING( DATEDIFF( HOUR, CreationDate, ClosedDate ) / 24 ) AS DaysToClose
        ,   COUNT(*) AS QuestionCount
FROM        Posts
WHERE       PostTypeId = 1
        AND CreationDate BETWEEN '2013-01-01' AND '2013-12-31'
        AND NOT ClosedDate IS NULL
GROUP BY    CEILING( DATEDIFF( HOUR, CreationDate, ClosedDate ) / 24 )

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results