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. Given the preceding information, answer Questions a through e.   How many database requests can you identify for an inventory update for both PRODUCT and PART?   Using SQL, write each database request you identified in Step a.   Write the complete transaction(s).   Write the transaction log, using Table 10.1 as your template.   Using the transaction log you created in Step d, trace its use in database recovery.

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter3: Table Creation And Management
Section: Chapter Questions
Problem 6HOA: Rename the EMPLOYEES table as JL_EMPS.
icon
Related questions
Question

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.

Given the preceding information, answer Questions a through e.

 

  1. How many database requests can you identify for an inventory update for both PRODUCT and PART?

 

  1. Using SQL, write each database request you identified in Step a.

 

  1. Write the complete transaction(s).

 

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

 

  1. Using the transaction log you created in Step d, trace its use in database recovery.
TABLE P10.1
TABLE NAME: PRODUCT
PROD_CODE
ABC
PROD_QOH
1,205
TABLE NAME: PART
PART_CODE
A
B
C
PART QOH
567
98
549
Transcribed Image Text:TABLE P10.1 TABLE NAME: PRODUCT PROD_CODE ABC PROD_QOH 1,205 TABLE NAME: PART PART_CODE A B C PART QOH 567 98 549
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 3 images

Blurred answer
Knowledge Booster
Dataset
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage