I'm stuck with my sp. I'm trying to get a recordset containing assessment, staff, team, score, ave score, team ave score.
I'm stuck on the ave scores
SELECT Score, TeamID, staffID, (??) AS AveScore, (??) as TeamAveScore
FROM tblAssessment
GROUP BY TeamID, Score, staffID
ORDER BY TeamID
I keep getting group by errors when using subqueries within the select. Any ideas on how best to do this??
I'm stuck on the ave scores
SELECT Score, TeamID, staffID, (??) AS AveScore, (??) as TeamAveScore
FROM tblAssessment
GROUP BY TeamID, Score, staffID
ORDER BY TeamID
I keep getting group by errors when using subqueries within the select. Any ideas on how best to do this??