Question: Write SQL statement to buy item ID = 1. We are not doing any validations. Just make sure you are buying item that is still
Write SQL statement to buy item ID = 1. We are not doing any validations. Just make sure you are buying item that is still in stock. Display your PURCHASE table. Screenshot the output. Logically, once you have made a purchase, you will need to update the stock in hand. So, update your ITEM table. Display all in ITEM.
Permanently save all operations.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
