Question: Create a view that shows the average GPA for each student grouped by semester and year. This view will provide a semester - wise GPA

Create a view that shows the average GPA for each student grouped by semester and year. This
view will provide a semester-wise GPA trend for students. Student_semester_gpa(sudent_id,
semester, year, gpa).
Now, using the student_semester_gpa view using a window, write a query that calculates the
cumulative GPA for each student at the end of each semester. The cumulative GPA should be the
average of all semester GPAs up to and including the current semester/year for each student.
Make sure you display spring and then fall for each year.
Deliverables
SQL code for creating view Student_semester_gpa(sudent_id,semester,year,gpa).(1
Point)
SQL code for query to display student id, semester, year, gpa and cumulative gpa.
(1point)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!