hi
I have a table as shown below. The actual table would have about 150 records and about 10 different teams.
I need to get the SUM of the TOP 3 scores for EACH team.
Based on the records above, the output would look like...
thanks for any help
I have a table as shown below. The actual table would have about 150 records and about 10 different teams.
Code:
AthleteID Team Score
-----------------------------
123 Bears 3.00
124 Tigers 4.90
131 Bears 5.75
132 Bears 7.20
165 Tigers 9.00
166 Tigers 9.00
204 Tigers 1.75
222 Bears 9.80
244 Tigers 5.50
etc...
I need to get the SUM of the TOP 3 scores for EACH team.
Based on the records above, the output would look like...
Code:
Team Top3Sum
-----------------
Tigers 23.5 that's 9 + 9 + 5.5
Bears 22.75 that's 9.8 + 7.2 + 5.75
thanks for any help