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)R=(A,B,C,D)

ABC,BD,DBA\to BC, B\to D, D\to B

The relation RR has transitive dependence: DBD\to B , BDB\to D .

So, the decomposition with relations in BCNF is:

R1=(A,B,C)R_1=(A,B,C)

R2=(B,D)R_2=(B,D)

The decomposition is dependency preserving because:

AB,BD    ADA\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!
LATEST TUTORIALS
APPROVED BY CLIENTS