646 views
0 votes
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 votes
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

Related questions

1 votes
1 votes
1 answer
1
Mk Utkarsh asked Jan 12, 2018
1,037 views
1 votes
1 votes
2 answers
2
Tuhin Dutta asked Dec 8, 2017
618 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 votes
3 votes
4 answers
3