Write functional dependency that expresses the fact

Assignment Help Basic Computer Science
Reference no: EM132493608

Problem: James Morgan owns and operates Morgan Importing, which purchases antiques and home furnishings in Asia, ships those items to a warehouse facility in Los Angeles, and then sells these items in the United States. James tracks the Asian purchases and subsequent shipments of these items to Los Angeles by using a database to keep a list of items purchased, shipments of the purchased items, and the items in each shipment. Now, consider one of the relations in Morgan's database:

SHIPMENT_ITEM (ShipmentNumber, ItemID, ItemDescription, ItemValue, VendorID, VendorName, VendorContact, VendorFax, DepartureDate, ArrivalDate, Origin, Destination, ShipmentCost, ItemQuantity)

1. Write functional dependency that expresses the fact that VendorID determines a vendor's name, contact information and fax number.

2. Write functional dependency that expresses the fact that ItemID determines an item's description, its value, and everything about its vendor.

3. Write functional dependency that expresses the fact that ShipmentNumber determines the DepartureDate, ArrivalDate, Origin, Destination, and ShipmentCost of a shipment.

4. Using the functional dependencies in step1~3, transform the relation SHIPMENT_ITEM into a set of tables in BCNF. Indicate the primary keys, foreign keys, and referential integrity constraints in the standard format. Note that you just need to report your final normalization results but not the intermediary steps.

5. Write SQL statement or statements that will create the table or tables you designed in step 4. You can make assumptions about data types and various constraints as needed. You can also add surrogate keys if needed. But you SQL statements should be consistent with your results in step 4 (columns, primary keys, foreign keys, referential integrity constraints, etc.).

Reference no: EM132493608

Questions Cloud

Compute what is the net present value of a project : An investment has the following cash flows and a required return of 12 percent. Based on IRR, should this project be accepted? Why or why not?
Discuss a form of financial fraud a consumer : Please discuss a form of financial fraud a consumer may experience and an approach or method the bank may to detect this.
Failures in implementing erp systems : Why do you think there are a lot of failures in implementing ERP systems?
Calculate basic per share for schroeder ltd : Calculate basic earnings per share and diluted earnings per share. The following data relate to Schroeder Ltd. for the calendar year 2020
Write functional dependency that expresses the fact : Write functional dependency that expresses the fact that VendorID determines a vendor's name, contact information and fax number.
Primary key in the relational model : In Oracle SQL Data Modeler, the attribute that you assign as primary UID is automatically set to a mandatory attribute and will be engineered to a primary
What stock price is expected one year from now : The dividend is expected to grow at a constant rate of 5% a year. What stock price is expected 1 year from now? What is the required rate of return?
Sql data definition language and base tables with data : Create a base table. Write the SQL to create a table based on one of your entities. Be sure to identify the primary key as part of your SQL syntax
What is the legal limit on current dividends : If the company pays out the amount in part b, what is the dividend payout ratio? What is the legal limit on current dividends? What is the practical limit

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Find the deepest value in a binary tree in c++

How do you find the deepest value in a binary tree in C++?

  What is meant by the hierarchy of management

1. What is meant by the hierarchy of management? 2. How does William Davis know about any problems on the factory floor?

  Attaching video gif files with standard emoticons

A company copying the tenor app feature of attaching video gif files with standard emoticons, would be any potential problem? explain.

  Explain why csc 180° is undefined

Math Journal Draw a unit circle. Use the drawing to complete the chart below that indicates the sign of the trigonometric functions in each quadrant.

  Write the definition of a class counter containing

Write the definition of a class Counter containing: An instance variable named counter of type int An instance variable named limit of type int . A constructor that takes two int arguments and assigns the first one to counter and the s..

  the LEGO Group to prepare for uncertainties

How does scenario analysis as described in this case help an organization like the LEGO Group to prepare for uncertainties?

  Types of user interfaces available today

1. Mention three (3) types of user interfaces available today

  Creating access database for storing employee information

Investigate and present a proposal for the implementation of an Information Technology (IT) system for a small (4-user) business section (for example, Human Resources) of an organization of your choice (real or fictitious).

  What is the irr of the project

Let's suppose a project costs $500 and produces cash flows of $100 over each of the following six years. What is the IRR of the project?

  Try to improve the text cleaning in find msg words ()

Try to improve the text cleaning in find Msg Words ()

  What is the position of the first character in a string

1. What is the position of the first character in a string? 2. Which C++ function(s) return(s) the number of characters currently in a string? 3. Is the data type string part of the C++ language? 4. How many parameters does the substr function hav..

  What software packages do you have on your computer

What is software? What software packages do you have on your computer that will help you with college? What operating system is on your computer?

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