Q&A for those involved in the field of teaching Computer Science
SELECT AVG(CAST(answer_count AS FLOAT)) FROM ( SELECT COUNT(PostTypeId) AS answer_count ,ParentId FROM PostsWithDeleted GROUP BY ParentId ) AS src