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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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