L
Len
I have a table. I need to select the student with the highest test score
from each school.
I am selecting the State for Test purposes!
In the Query below, I get the right test score, but I cannot get the correct
student that the test score matches.
How can this be accomplished?
SELECT FederalClass.ST, Max(FederalClass.TotPotTest) AS MaxOfTotPotTest,
First(FederalClass.StudId) AS FirstOfStudId, Last(FederalClass.ENRL) AS
LastOfENRL, Last("7-A") AS Expr1
FROM FederalClass
GROUP BY FederalClass.ST
ORDER BY FederalClass.ST, Max(FederalClass.TotPotTest);
Do I need to do this in VB?
Thanks in Advance
Len
from each school.
I am selecting the State for Test purposes!
In the Query below, I get the right test score, but I cannot get the correct
student that the test score matches.
How can this be accomplished?
SELECT FederalClass.ST, Max(FederalClass.TotPotTest) AS MaxOfTotPotTest,
First(FederalClass.StudId) AS FirstOfStudId, Last(FederalClass.ENRL) AS
LastOfENRL, Last("7-A") AS Expr1
FROM FederalClass
GROUP BY FederalClass.ST
ORDER BY FederalClass.ST, Max(FederalClass.TotPotTest);
Do I need to do this in VB?
Thanks in Advance
Len