dblabs/k.sql
2024-01-25 21:55:48 +01:00

6 lines
No EOL
251 B
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--Which is the students grade average on the courses that he has taken?
select avg(TakenCourses.grade) as averageGrade, Students.pNbr
from TakenCourses
join Students on TakenCourses.pNbr = Students.pNbr
where TakenCourses.pNbr = '790101-1234'