Answer to Question #156611 in Differential Equations for RAFI

Question #156611

Consider the relation schema R=(A, B, C, D) with functional dependency F as follows

A BC

B D

D B



Show a decomposition of R into R1 and R2 so that each relation of the decomposition is

in BCNF and also dependency preservation is achieved.


1
Expert's answer
2021-01-20T13:30:12-0500

"R=(A,B,C,D)"

"A\\to BC, B\\to D, D\\to B"

The relation "R" has transitive dependence: "D\\to B" , "B\\to D" .

So, the decomposition with relations in BCNF is:

"R_1=(A,B,C)"

"R_2=(B,D)"

The decomposition is dependency preserving because:

"A\\to B, B\\to D \\implies A\\to D"


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS