From 3fef57df8a99868fc3a43abcd5d271e1ced09962 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Thu, 25 Jan 2024 21:38:08 +0100 Subject: [PATCH] L fixed --- l.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/l.sql b/l.sql index aff9606..d23539e 100644 --- a/l.sql +++ b/l.sql @@ -1,5 +1,5 @@ -select avg(TakenCourses.grade) as averageGrade, TakenCourses.courseCode, Courses.courseName, sum(Courses.credits) as totalCredits +select firstName, lastName, avg(TakenCourses.grade) as averageGrade, TakenCourses.courseCode, Courses.courseName, sum(Courses.credits) as totalCredits from TakenCourses join Students on TakenCourses.pNbr = Students.pNbr join Courses on TakenCourses.courseCode = Courses.courseCode -where Students.firstName = 'Eva Alm' \ No newline at end of file +where Students.firstName = 'Eva' AND lastName = 'Alm' \ No newline at end of file