average number of accepted answers / number of answers where there is more than one answer

0

Please login or register to vote for this query.

(click on this box to dismiss)

Computational Science

Q&A for scientists using computers to solve scientific problems

SELECT 
    (SELECT COUNT(*) FROM Posts WHERE PostTypeId = 1 AND AcceptedAnswerId IS NOT NULL) * 100.0 / COUNT(*)
    AS PercentageWithAcceptedAnswer
FROM 
    Posts
WHERE 
    PostTypeId = 1;

Enter Parameters

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