dblabs/l.sql
2024-01-25 19:40:23 +01:00

5 lines
No EOL
300 B
SQL

select 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'