Skip to content

dataproctech/transaction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Suppose that you are a manufacturer of product ABC, which is composed of parts A, B, and C. Each time a new product ABC is created, it must be added to the product inventory, using the PROD_QOH in a table named PRODUCT. Also, 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 A, B, and C. The sample database contents are shown in Table P10.1.

alt text

Given the preceding information, answer Questions a through d:

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 Step a.

c. Write the complete transaction(s).

d. Write the transaction log, using Table 10.1 as your template.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors