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

  Design and implement the best deal business database

Design and implement the Best Deal business database that you have modelled in the assignment-1 and a series of SQL queries to reflect the business logic of the Best Deal.

  Implement that entity as a database table with two subtypes

Implement that entity as a database table with two subtypes, Games and Movie.

  Create a user account and add and activate the tag by id

A state-wide toll road system (MyStateTolls) allows users to buy an RF tag for use in paying tolls on their system. Each tag includes a unique tagID.

  Protecting data warehouses and employee privacy

What should a company consider installing on the network perimeter to prevent direct connections between the internal network and the Internet to help protect its data warehouses and employee privacy?

  Differences between the oracle database sysdba and sysoper

What are the differences between the Oracle database SYSDBA and SYSOPER privileges? Explain OS authentication and how that allows you to connect to the database as SYS without providing a password

  Define the closure of a set of attributes under a set of fds

Prove Darwen's "General Unification Theorem." Which of the rules of the previous two exercises did you use? Which mks can be derived as special cases.

  Create a stack of single byte entities

Write in assembler a program that will create a stack of single byte entities and have the following operations: push and pop.

  Construct a query that can be used on a report

Construct a query that can be used on a report for determining how many days the customer's invoice will require payment if total amount due is within 45 days. Provide a copy of your working code as part of the paper.

  Calculate number of days between listing date and sale date

In cell J2, enter a formula to calculate the number of days between the listing date and sale date. Use the Subtotal feature to calculate the average selling price, percentage of asking price, and days on market by city.

  Explain about the data warehouses and relational databases

Can you explain about the Data Warehouses and relational databases?

  Explain what would be the data load and refresh cycles

For an airlines company, identify three operational applications that would feed into the data warehouse. What would be the data load and refresh cycles

  Explain how sales of individual items would be entered

How a system could improve efficiency? How a system could improve accuracy? How sales of individual items would be entered? How the database would store the data compared to the current spreadsheet method?

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