Q&A for developers and researchers interested in open data
SELECT P.Id AS QuestionId, AVG(A.Score) AS AvgAnswerScore FROM Posts P JOIN Posts A ON P.Id = A.ParentId WHERE P.PostTypeId = 1 AND P.AnswerCount > 5 GROUP BY P.Id;