E
EA
My problem is this. I have a query which produces all the performances,
indexed by PlayerID e.g.
PlayerID Score
1 12
1 12
1 6
2 6
2 8
2 6
3 8
3 8
4 4
4 6
What I would like is a query that returns the average of the top n number of
scores for each player in a query e.g. n = 2 for this example
PlayerID Score
1 12
2 7
3 8
4 5
Can anyone help?
indexed by PlayerID e.g.
PlayerID Score
1 12
1 12
1 6
2 6
2 8
2 6
3 8
3 8
4 4
4 6
What I would like is a query that returns the average of the top n number of
scores for each player in a query e.g. n = 2 for this example
PlayerID Score
1 12
2 7
3 8
4 5
Can anyone help?