Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following attributes for tables in a relational model designed to keep track of information for a moving company that moves residential customers, usually

Consider the following attributes for tables in a relational model designed to keep track of information for a moving company that moves residential customers, usually from one home or apartment to another:

customerID, customerName, customerCurrentAddress, customerCurrentPhone, customerNewAddress, customerNewPhone, pickupLocation, dropOffLocation, dateOfMove, startingTime, estimatedWeight, estimatedCost, truck#Assigned, driverName, driverLicNo, actualCost, amountOfDamages, truckCapacity, costOfTolls, tax, finalAmount, invoiceNumber, amountPaid, datePaid, checkNumber, amountDue

Assume:

Although in most cases the pickupLocation is the customer s old address and the dropOffLocation is the new address, there are exceptions, such as when

furniture is moved to or from storage.

An estimate is provided before the move using a pre-printed invoice containing a unique invoice number. The actual cost is recorded on the same

form once the move is complete. The actual cost may differ from the estimated cost. The final amount includes the actual cost of the move, plus tax and tolls.

In most cases, the customer pays the final amount immediately, but sometimes he or she pays only part of the bill, especially if the amount of

damages is high. In those cases, there is an amount due, which is the difference between the final amount and the amount paid.

a. Using these assumptions and stating any others you need to make, list all the non-trivial functional dependencies for this relation. b. What are the candidate keys for this relation? Identify the primary key. c. Is the relation in third normal form? If not, find a 3NF lossless join decomposition of Books that preserves dependencies. d. Is the relation or resulting set of relations in Boyce-Codd Normal Form? If not, find a lossless join decomposition that is in BCNF. Identify any functional dependencies that are not preserved.

e. What tables would you actually implement? Explain any denormalization, omissions, or additions of attributes.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

Students also viewed these Databases questions

Question

Provide examples of the various microcultures in the United States

Answered: 1 week ago

Question

When is it appropriate to use a root cause analysis

Answered: 1 week ago