Question: How could one compose a function named get_term_gpa that will return the term GPA for a student given the student's pid and yrtrm as parameters
How could one compose a function named "get_term_gpa" that will return the term GPA for a student given the student's pid and yrtrm as parameters using a GROUP BY function? Then, how would one divide the SUM() by the count(*) for classes taken during that semester to derive that GPA?
Step by Step Solution
3.53 Rating (153 Votes )
There are 3 Steps involved in it
To compose the function gettermgpa using the GROUP BY function follow these steps Step 1 Create a fu... View full answer
Get step-by-step solutions from verified subject matter experts
