L fixed
This commit is contained in:
parent
2d73d6551a
commit
3fef57df8a
1 changed files with 2 additions and 2 deletions
4
l.sql
4
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'
|
||||
where Students.firstName = 'Eva' AND lastName = 'Alm'
|
Loading…
Reference in a new issue