in Databases edited by
615 views
1 vote
1 vote
Consider relation R with set functional dependencies (F) as: $R(ABCD)$ and

$F \left \{  AB \rightarrow  CD, C \rightarrow A, A \rightarrow C \right \}$.
 1) If the above relation is decomposed into R1 (CBD), R2 (CA) then the relation is in

(A) INF but not in 2NF

(B) 2NF but not in 3NF

(C) 3NF but not in BCNF

(D) BCNF

2)The above decomposition is

(A) Lossless and also dependency preserving

(B) Lossy but dependency preserving

(C) Lossy and also dependencies are not preserved

(D) Lossless but dependencies are not preserved
in Databases edited by
by
615 views

1 comment

@Bhavna

what is the problem you are facing, while solving this questions?

0
0

1 Answer

1 vote
1 vote
It is bcnf

Loseless but not dependency preserving

3 Comments

Yes i thought so too but given ans is loosless n dp.
0
0
Yes it is dependency preserving too

 

AB and CB are candidate keys of the relation

So AB-> CD

BC->AD

 

When you decompose the relation

(CBD)

BC-> D

 

(CA)

C->A

A->C

If you take F+ You will get all functional dependency
1
1

@Priyanka Agarwal

how it is in BCNF? Please explain.

And what is the functional dependency contain in Relation R1(C B D)?

 

0
0

Related questions

1 vote
1 vote
0 answers
2