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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!