Question: Consider a relation schema R = (A, B, C, D, E) and a set F consisting of the following functional dependencies that hold on R:

Consider a relation schema R = (A, B, C, D, E) and a set F consisting of the following functional dependencies that hold on R:

A -> C, AC -> E, AD -> B, B -> ADE, D-> E.

An algorithm for computing a lossless-join, dependency-preserving decomposition of a relation schema (using a canonical cover of a set of functional dependencies that hold on the schema) into a set of third normal form (3NF) relation schemas is given in the figure below. Use this algorithm to decompose R using Fc .

Consider a relation schema R = (A, B, C, D, E) and

let Fe be a canonical cover for F; i: 0 for each functional dependency a in Fo do if none of the schemas Rj,j = 1, 2, . . . , i contains ?? then begin end if none of the schemas R, 1,2,,i contains a candidate key for R then begin Ri any candidate key for R; end return (R1, R2,.. ,R)

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!