Average length of answers

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mathematics

Q&A for people studying math at any level and professionals in related fields

SELECT  
  Count(Id) AS [Answer Count],
  AVG(LEN(Body)) AS [Average Length], 
  SUM(LEN(Body)) AS [Total Length], 
  AVG(Score) AS [Average Score], 
  SUM(Score) AS [Total Score]
FROM Posts
WHERE PostTypeId=2 AND OwnerUserId=##uid##

Enter Parameters

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