Identify for an inventory update for both product and part

Assignment Help Database Management System
Reference no: EM131734400

Assignment: "Database Transactions -- I"

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

205

Table name: PART

PART_CODE

PART_QOH

X

150

Y

300

Z

400

Given this information, answer Questions 1-4.

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

2. Using SQL, write each database request you identified in step 1.

3. Write the complete transaction(s).

4. Write the transaction log, using the table below as your template.

1750_Transaction-Log.jpg

Here, we assume that the product XYZ has PROD_QOH = 205 at the start of the transaction and the transaction represents the addition of one new product. We also assume that the PART components X, Y and Z have PROD_QOH equal to 150, 300, and 400 respectively.

Reference no: EM131734400

Questions Cloud

Selecting the information below to answer the question : How would I go about selecting the information below to answer the question - What is the cash flows for years 1 through 3?
Explain legal and insurance liabilities : Access your federal, state or territory and local health skin penetration guidelines/regulations and provide a brief definition of the meaning of skin
What constitutes an acceptable range of variation : What constitutes an acceptable range of variation? Why should a supervisor control by exception? How can a supervisor lessen employee resistance to controls?
What is the market value of the property : If a certain property is put up for sale, there is a 50% chance it will sell for $900,000 and a 50% chance it will sell for $1,100,000.
Identify for an inventory update for both product and part : 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 1.
Percent coupon corporate bond : What's the current yield of a 4.60 percent coupon corporate bond quoted at a price of 102.18? (Round your answer to 2 decimal places.)
Calculate the beta portfolio : Calculate the beta portfolio
Expected to pay a dividend : FTTO is expected to pay a dividend of 1.25 in 2 years. Dividends are expected to grow at 14%, 12%, 10% and then at a constant rate of 5%.
Characteristic of vertically structured organization : Which of these is a characteristic of a vertically structured organization:

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd