Query fix for n
This commit is contained in:
parent
c3ea12c723
commit
4138d9c2c2
1 changed files with 1 additions and 1 deletions
2
n.sql
2
n.sql
|
@ -10,4 +10,4 @@ JOIN TakenCourses ON Students.pNbr = TakenCourses.pNbr
|
|||
GROUP BY Students.pNbr;
|
||||
|
||||
SELECT firstName, averageGrade FROM StudentsAverages
|
||||
WHERE averageGrade = max(averageGrade);
|
||||
WHERE averageGrade = (SELECT max(averageGrade) FROM StudentsAverages);
|
Loading…
Reference in a new issue