Average answer length (and min and max)

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
  u.Id AS [User Link],
  Avg(Len(p.Body)) AS [Average Length]
FROM Users u, Posts p
WHERE p.OwnerUserId = u.Id
  AND p.PostTypeId = 2
GROUP BY u.Id
ORDER BY [Average Length]

Enter Parameters

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