Question: Functional Dependency Theory Consider the following two relational schemas and sets of functional dependencies: a. (10 points) R(A,B,C,D,E) with functional dependencies D B, CE

Functional Dependency Theory

Consider the following two relational schemas and sets of functional dependencies:

a. (10 points) R(A,B,C,D,E) with functional dependencies D → B, CE → A.

b. (10 points) S(A,B,C,D,E) with functional dependencies A → E, BC → A, DE → B.

For each of the above schemas, decompose it into BCNF. Show all of your work and explain, at each step, which dependency violations you are correcting. Make sure you describe each step in your decomposition steps. (10 points each)

A set of attributes X is called closed (with respect to a given set of functional dependencies) if X⁺ = X. Consider a relation with schema R(A,B,C,D) and an unknown set of functional dependencies. For each closed attribute set below, give a set of functional dependencies that is consistent with it.

c. (5 points) All subsets of {A,B,C,D} are closed.

d. (5 points) The only closed subsets of {A,B,C,D} are {} and {A,B,C,D}.

e. (5 points) The only closed subsets of {A,B,C,D} are {}, {B,C}, and {A,B,C,D}.

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!