I am trying to run this query, but the results are always just the count; the average part doesn't happen.
Code:
SELECT [Rater Type], AVG(RaterTypeCount) From
(select [Rater Type], Count(*) as RaterTypeCount
From RatersPerParticipants
where LOB="Product Sale" and [Rater Type]="Boss"
Group by [Rater Type] )
Group by [Rater Type]
Table
LOB Rater Type # of Raters
a Plain count of "Product Sale" "Boss" (below) returns the same value as above
Code:
SELECT Count([Rater Type]) as RaterCount
From RatersPerParticipants
where LOB="Product Sale" and [Rater Type]="Boss"