Question: Question 2. [45 marks] You are given a relation scheme R-B, N, S, T, A, R, C} where B-Building, N- Door Number, S - Street,

 Question 2. [45 marks] You are given a relation scheme R-B,

Question 2. [45 marks] You are given a relation scheme R-B, N, S, T, A, R, C} where B-Building, N- Door Number, S - Street, T Type, A -Architect, R-Subcontractor and C Class. Constraints between the attributes can be expressed in the form of the following functional dependencies: a. Find all candidate keys of F. Prove that these are the only keys (15 points) b. Derive a canonical cover for F in a systematic manner (15 points) c. Does a set of FD's have a unique canonical cover? Why? (5 points) d. Decompose R into a set of 3NF schemes which preserve all dependencies in F and form a lossless join (10 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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

Students Have Also Explored These Related Databases Questions!