Question: Create a function named DD_MTHPAY_SF that calculates and returns the monthly payment amount for donor pledges paid on a monthly basis. Input values should be
Create a function named DD_MTHPAY_SF that calculates and returns the monthly payment amount for donor pledges paid on a monthly basis. Input values should be the number of monthly payments and the pledge amount. Use the function in an anonymous PL/SQL block to show its use with the following pledge information: pledge amount = $240 and monthly payments = 12. Also, use the function in a SQL statement that displays information for all donor pledges in the database on a monthly payment plan.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
