Question: 2. Write a stored procedure called update_discounts that updates the product table and increases the discount_percent by 5 percentage points (for example, from 30 to

2. Write a stored procedure called update_discounts that updates the product table and increases the discount_percent by 5 percentage points (for example, from 30 to 35) for all products which have a list price over 1000. It should also increase the discount_percent by 10 percentage points for products less than or equal to 1000

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!