This commit is contained in:
Imbus 2024-01-26 17:05:32 +01:00
parent 4ec6ff2cde
commit c3ea12c723

3
n.sql
View file

@ -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);