Product XYZ

CLICK HERE TO DOWNLOAD THIS TUTORIAL INSTANTLY $17.50 Only

Suppose that you are a manufacturer of product XYZ, which is composed of parts X, Y, and Z. Each time a new product XYZ is created, it must be added to the product inventory, using the PROD_QOH in a table named PRODUCT. And each time the product is created, the parts inventory, using PART_QOH in a table named PART, must be reduced by one each of parts X, Y, and Z. The sample database contents are shown in the two tables below.

Table name: PRODUCT
PROD_CODE | PROD_QOH
___________________________
XYZ | 1,375

Table name: PART
PART_CODE | PART_QOH
X | 495
Y | 517
Z | 387

Given that information, answer questions a through c.
a. How many database requests can you identify for an inventory update for both PRODUCT and PART?
b. Using SQL, write each database request you identified in question a.
c. Write the complete transaction(s).