Question: 6 . Create a Stored Procedure, for the SaleCo 2 database, that will:Delete an Invoice from the Invoice table by accepting the Invoice # as

6. Create a Stored Procedure, for the SaleCo2 database, that will:Delete an Invoice from the Invoice table by accepting the Invoice # as a procedure parameter when you CALL the procedure to be executed in the SQL window/tab within phpMyAdmin Delete all associated rows for this Invoice in the Line table. Reduce the Customer balance in the Customer table by the amount of the deleted Invoice.HINT: May be done in one SQL query with sub-queries OR using separate queries and maybe a variable In maria db

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 Accounting Questions!