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