Averages

0

Please login or register to vote for this query.

(click on this box to dismiss)

Amateur Radio

Q&A for amateur radio enthusiasts

SELECT PostTypeId,
       AVG(CAST(p.FavoriteCount AS BIGINT)) AS FavoriteCount,
       AVG(CAST(p.AnswerCount AS BIGINT)) AS AnswerCount,
       AVG(CAST(p.CommentCount AS BIGINT)) AS CommentCount,
       AVG(CAST(p.ViewCount AS BIGINT)) AS ViewCount,
       AVG(CAST(p.Score AS BIGINT)) AS Score
  FROM Posts p 
  Group By PostTypeId

Enter Parameters

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