Percentage of Questions Closed

0

Please login or register to vote for this query.

(click on this box to dismiss)

The Workplace

Q&A for members of the workforce navigating the professional setting

SELECT
    COUNT(qPosts.ID) [Total Questions],
    COUNT(qPosts.ClosedDate) [Closed Questions],
    COUNT(qPosts.ClosedDate) * 100 / COUNT(qPosts.ID) as [Questions closed]
FROM Posts as qPosts
WHERE qPosts.PostTypeID = 1 
--Questions only

Enter Parameters

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