Average score for tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

The Workplace Meta

Q&A about the site for members of the workforce navigating the professional setting

select
  sum(p.Score) as TotalScore
  ,count(p.Id) as NumberOfPosts
  ,cast(sum(p.Score) as float) / cast(count(p.Id) as float) as AverageScore
from
  Posts p
wHERE PostTypeId = 1

Enter Parameters

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