Question: Given the relation schema FLIGHT (Gate#, Flight#, Date, Airport, Aircraft, Pilot) and the constraint set F {fd1, fd2, fd3} where: fd1: {Airport, Flight#, Date}

Given the relation schema FLIGHT (Gate#, Flight#, Date, Airport, Aircraft, Pilot) and the constraint set F {fd1, fd2, fd3} where:
fd1: {Airport, Flight#, Date}  Gate
fd2: {Flight#, Date}  Aircraft
fd3: {Flight, Date}  Pilot
a. List the candidate key(s) of FLIGHT.
b. For each candidate key, indicate the immediate normal form violated in FLIGHT by each of the functional dependencies given above.
c. If FLIGHT is not in BCNF, design a relational schema that:
• is in BCNF, and
• yields a lossless-join decomposition
d. Are all functional dependencies in F preserved? If not, which are not preserved?

Step by Step Solution

3.52 Rating (182 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a The only candidate key of FLIGHT F is Airport Flight Date b Primary key Airport Flight Dat... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

887-CS-DB (2194).docx

120 KBs Word File

Students Have Also Explored These Related Databases Questions!