710 views
2 votes
2 votes
I know the condition for a 2 table to be lossless, but i cannot visualize it.

How is 1 table which is decomposed, and if common attribute is key in any one of table, then its lossless decomposition.

Can anyone explain me this with different analogy or help me visualize it.

2 Answers

0 votes
0 votes

R(A,B,C,D)

if decomposed into two relations :-

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

AB->C

B->D

If(R1 intersection R2 = Some key) then decomposition is lossless else lossy

 SO R1 intersection R2 = B which is a key and define all attributes of R2 then Lossless

Related questions

3 votes
3 votes
4 answers
1
1 votes
1 votes
1 answer
3
Mk Utkarsh asked Jan 12, 2018
1,034 views
1 votes
1 votes
2 answers
4
Tuhin Dutta asked Dec 8, 2017
631 views
$R(X,Y,Z,W) is\ decomposed\ into \\ R_1(X,Y)\\ R_2(Y,Z)\\ R_3(Y,W).\\The\ FDs\ are\ :\\ X - Y,\\ Z->Y,\\ Y->W \\ Find\ whether\ the\ decomposition\ is\ lossless\ or\ ...