Please login or register to vote for this query.

(click on this box to dismiss)

Network Engineering

Q&A for network engineers

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

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