1,052 views
0 0 votes

State true or false:-

Symbol " ^ " stands for an intersection AND letters in bold are the candidate key of the respective table.

1)  R1(A, B, C) ^ R2(B, C) = {B,C} IS LOSSLESS JOIN.

2)  R1(A, B, C) ^ R2(B, D) = {B} IS LOSSY JOIN.

3)  R1(A, B, C) ^ R2(B, C) = {B,C} IS LOSSLESS JOIN.


state whether the given decomposition is lossless-join decomposition or not:-

letters in bold are the candidate key of the respective table.

Relation R(A, B, C, D, E, F, G) is decomposed into

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

Also, tell what will be the candidate key after performing join each time and at the end.

1 Answer

0 0 votes

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

R1(A, B, C) and R3(F, B) can be joined R5(A,B,C,F)

R2(D, E) and R4(D, G, A) can be joined R6(A,D,E,G)

R5(A,B,C,F) and R6(A,D,E,G) can be joined R(A,B,C,D,E,F,G)---AG will be the candidate key

Position:
Show:

Related questions

2 2 votes
1 1 answer
2.2k
2.2k views
Mk Utkarsh asked Jan 12, 2018
2,150 views
1 1 vote
2 2 answers
1.2k
1.2k views
Tuhin Dutta asked Dec 8, 2017
1,200 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\ ...
3 3 votes
4 4 answers
2.1k
2.1k views
4 4 votes
1 answers 1 answer
1.4k
1.4k views
Rounak Agarwal asked Sep 22, 2016
1,420 views
The decomposition of relation R with FD set F into R1 and R2 has lossless join property iffR1 $\cap$ R2 $\rightarrow$ R1 $\in$ F$^+$ ORR1 $\cap$ R2 $\rightarrow$ R2 $\in...