Answered step by step
Verified Expert Solution
Link Copied!

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database Foundations Technology Fundamentals For IT Success

Authors: Bob Bryla

1st Edition

0782143725, 9780782143720

More Books

Students also viewed these Databases questions

Question

What is the purpose of forming an advisory board?

Answered: 1 week ago