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,](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3ba2103aef_92866f3ba20650fe.jpg)
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
Get step-by-step solutions from verified subject matter experts
