V
Victoria
I'm fairly new to this, so I could really use a hand.
My query has just 4 columns; StudID, SchoolID, SchoolName, ContestScore.
I need to find the sum of the top 3 scores from each school, then rank these
in descending order. (for schools with < 3 participants, I sum all of their
ContestScores) For example, the data shown below...
100 AD AdamsHigh 75
101 WC WalkerColleg 82
104 AD AdamsHigh 50
106 AD AdamsHigh 75
107 SH SmithSec 100
110 AD AdamsHigh 100
115 WC WalkerColleg 30
119 WC WalkerColleg 70
120 WC WalkerColleg 90
should produce the result...
AdamsHigh 250
WalkerColleg 242
SmithSec 100
My query has just 4 columns; StudID, SchoolID, SchoolName, ContestScore.
I need to find the sum of the top 3 scores from each school, then rank these
in descending order. (for schools with < 3 participants, I sum all of their
ContestScores) For example, the data shown below...
100 AD AdamsHigh 75
101 WC WalkerColleg 82
104 AD AdamsHigh 50
106 AD AdamsHigh 75
107 SH SmithSec 100
110 AD AdamsHigh 100
115 WC WalkerColleg 30
119 WC WalkerColleg 70
120 WC WalkerColleg 90
should produce the result...
AdamsHigh 250
WalkerColleg 242
SmithSec 100