Question: Use MyGuitarShop DB: Create a stored procedure called spFinal that given a ProductID does the following: 1 . If the Product doesn t exist, display
Use MyGuitarShop DB:
Create a stored procedure called spFinal that given a ProductID does the following:
If the Product doesnt exist, display a mesage. eg "Product doesn't exist" If the Product hasnt been ordered display a message egThere are no orders for ibanez. Otherwise, return all the orders for that product and display a message saying how many units of that product have been sold. Return the number of units sold for that product as an output parameter.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
