840 views
2 2 votes
What should be the decomposition for the following relation ? Any one please ?

R(A,B,C,D,E,F)

FD'S ARE :

AB -> CDEF
BC -> EF
E -> F

According to me th realtion is in 2nd NF but not in 3NF for
3NF the decomposition should be
R1 (A,B,C,D),R2(A,B,E),R3(A,B,F),R4(B,C,E),R5(B,C,F),R5(E,F).

2 Answers

Best answer
4 4 votes
R(A,B,C,D,E,F)

FD'S ARE :

AB -> CDEF
BC -> EF
E -> F

 

Here the candidate key is AB

so there will be transitive dependency

BC -> EF
E -> F

to remove the transitive dependency the relation can be decomposed as

R1 (A,B,C,D),R2(B,C,E,F)

Now from R1 and R2 ...R can be brought back as BC is a key in R2

Now R2 has transitive depenency E -> F

Now R2 can be decomposed to make it inot 3NF

R1 (A,B,C,D),R2(B,C,E) and R3(E,F)

all the FD's are preserved and it is a lossless decomposition
• selected by
0 0 votes

Ck=AB

There does not exist any partial dependency that's why it is by default in 1NF and 2NF

Since BC->EF

and E->F will be transitive dependency

therefore find out closure of 

closure of(E)=EF

Closure of(BC)=BCEF

tables R1(EF)  R2(BCE)   R3(ABCD) it is in 3NF.

Position:
Show:

Related questions

21 21 votes
4 4 answers
3.2k
3.2k views
gatecse asked Feb 23
3,178 views
In the context of schema normalization in relational DBMS, consider a set $\text{F}$ of functional dependencies. The set of all functional dependencies implied by $\text{...
11 11 votes
3 3 answers
2.1k
2.1k views
gatecse asked Feb 23
2,148 views
In the context of relational database normalization, which of the following statements is/are true?It is always possible to obtain a dependency-preserving $3$NF decomposi...
0 0 votes
0 0 answers
444
444 views
Prem Sai Kodi asked Jan 22
444 views
I'm confused about this...help me... 
3 3 votes
1 1 answer
359
359 views
Shubham Sharma 2 asked Sep 9, 2025
359 views
Fifth normal form is concerned with:Join DependencyDomain-KeyMultivalued dependencyFunctional dependency