Average number of answers

0

Please login or register to vote for this query.

(click on this box to dismiss)

Spanish Language

Q&A for linguists, teachers, students and Spanish language enthusiasts in general wanting to discuss the finer points of the language

SELECT AVG(CAST(answer_count AS FLOAT))
FROM
(
    SELECT   COUNT(PostTypeId) AS answer_count
            ,ParentId
    FROM PostsWithDeleted
    WHERE PostTypeId = 2
    GROUP BY ParentId
) AS src

Enter Parameters

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