Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 semesterwise GPA trend for students. Studentsemestergpasudentid
semester, year, gpa
Now, using the studentsemestergpa 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 semesteryear for each student.
Make sure you display spring and then fall for each year.
Deliverables
SQL code for creating view Studentsemestergpasudentidsemester,year,gpa
Point
SQL code for query to display student id semester, year, gpa and cumulative gpa.
point
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started