2,795 views
1 votes
1 votes

2 Answers

1 votes
1 votes

Relation: R(ABCDE):

FDs: A->BC, CD->E, B->D, E->A

Find Candidate Keys: {A, E, BC, CD}

All FDs left side are superkey except B->D

So we will decompose at B:

Find B's Closure: {B,D}

BD will be one side and other side ABCE,

Now BD has become a Relation having SuperKey as B (B->D)

Check ABCE:

FDs: A->BC, E->A {We are not talking about D because D is not here}

Find Candidate Keys : {E}

The FD  A->BC, haven't superkey at left side so decompose at A

Find closure of A : {A,B,C}

Now ABC has become a relation having superkey as A ( A->BC )

ABC will be one side and other side EA (EA also have a superkey {E->A} )

So three relations: ABC, EA, BD

1 votes
1 votes

Candidate Keys: {A, E, CD, BC }

decomposition to bcnf:

R(ABC)

R(CDE)

R(BD)

R(EA)

above decomposition is not only in bcnf but also in 3nf.

Hence, it is dependency preserving and lossless.

Related questions

2.0k
views
2 answers
1 votes
aditi19 asked Apr 14, 2019
2,047 views
Decompose into BCNFR(A, B, C, D, E)FD: AB->C, C->D, D>B, D->E
2.0k
views
1 answers
2 votes
Na462 asked Jul 14, 2018
2,043 views
740
views
1 answers
1 votes
khushtak asked Jan 18, 2016
740 views
R(ABCDE){A→BC, CD→E, B→D, E→A}How to convert it into bcnf?I hv seen 2-3 ways to convert into bcnf.And i dont find it ... joining of the decomposed table or relation will give complete relation set.Plz someone explain it
895
views
2 answers
1 votes
reena_kandari asked Feb 1, 2017
895 views
Consider the following relation: R (ABCDEF) ... E}The minimum number of relations required which satisfy BCNF, lossless join decomposition and dependency preserving decomposition are