select Avg(a.Score*1.0) AvgSelfAnswerScore from Posts a ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select Avg(a.Score*1.0) AvgSelfAnswerScore

from Posts a
join Posts q on q.Id=a.ParentId
where a.OwnerUserId=q.OwnerUserId

Enter Parameters

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