Average length of questions

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 [Question Count],
  AVG(LEN(Body)) AS [Average Length], 
  SUM(LEN(Body)) AS [Total Length], 
  AVG(Score) AS [Average Score], 
  SUM(Score) AS [Total Score], 
  AVG(ViewCount) AS [Average ViewCount], 
  SUM(ViewCount) AS [Total Views]
FROM Posts
WHERE PostTypeId=1 AND OwnerUserId=##uid##

Enter Parameters

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