Question: Write a PL/SQL code: write an anonymous block program unit that takes as user-input vendor_id and prints the average invoice_total for that specific vendor_id. The
Write a PL/SQL code:
write an anonymous block program unit that takes as user-input vendor_id and prints the average invoice_total for that specific vendor_id. The program raises an exception if the average invoice_total for that vendor_id is greater than or equal 1900 and print the message 'High Invoice_due'
Try two test cases:
Input: 117
Input: 122
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
