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