I figured it out and used 4 separate functions to do this and then create a main stored procedure. If you'd like me to post the solution I can; this...
Here's the link to my assignment: Assignment if this helps and here is the data dictionary: Data Dictionary. There is only one table "Debt" in the database "college" and I...