database exercise

User Generated

inhtua_frnfba

Computer Science

Intro to Relational Database Management Systems

American Military University

Description

Review question 14.17 and 14.18 on page 429 - 430 of the Connolly textbook as background for the below question.

Then, using the information in the figure below, answer the following questions.

Assume that we only want to record the last sale of each car. Each car can be sold to only one customer; however, each customer can buy more than one car.

a) Describe functional dependency – Hint – review the Functional Dependencies Topic in the Terms and Concepts forum. While you may incorporate formal definitions, you must include plain English content to explain the concept and how it applies to the fields in this exercise.

Using the functional notation shown on pages 412, 413 Examples 14.4, 14.5, identify the functional dependencies that exist in the above figure. All attributes should be included at least once. There may be more than one row of functional notation needed.

b) Identify a primary key for the table in the above figure and indicate whether there are any alternate keys – explain your choices.

c) Is the table in 3NF? If not, explain why – (you must provide specific rationale, using field names and values in the table to demonstrate your understanding). Explain what normal form the existing table is in.

Include each question with your answer. Submit a Word compatible document. Name your document Last Name_Assignment6 (i.e. Smith_Assignment6).

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Hello check the solution .

Review question 14.17 and 14.18

(a) Identify the functional dependencies that exist between the columns of the table in Figure
14.21and identify the primary key and any alternate key(s) (if present) for the table.
The functional dependencies that exists in the table column include
i.

JobID JobDate/Time,
jobPickupAdress

driverID,

ii.

driverID

driverName, taxiID

iii.

clientID

clientName

driverName,

taxiID,

ClentID,

clentName,

Primary key is JobID and the alternate key would be TaxiID

(b) Describe why the table in Figure 14.21 is not in 3NF.

The figure is not in 3NF due to the availability of dependencies .For a table to qualify to be in
3NF state then it need not to have transitive dependencies which this table has and thus Not in
3NF.

(c). an examples of how insertion, deletion, and modification anomalies could occur on this
table.

Insertion anomalies – There would be some insertion anomalies if one attempts to ins...


Anonymous
Nice! Really impressed with the quality.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Similar Content

Related Tags