edited by
5,979 views
4 votes
4 votes
The following functional dependency hold for relations R (A,B,C) and S(B,D,E):FD FOR BOTH THE TABLES B -> A, A -> C  The relation R contains 200 tuples and the relation s contains 100 tuples. What is the maximum 4 number of tuples possible in natural join R|><|S?
edited by

2 Answers

Best answer
9 votes
9 votes
B is  primary key fro R as B->A B->C  

B is foreign key for S

Max tuples in natural join of R and S  will be min(200,100)=100

(As B is primary key all B values in relation R are distinct Now when we join R and S it may happen that any one of 200 value may map to all 100 values or say 100 values from 200 may map to 100 values of S These are just to cases)
selected by
5 votes
5 votes
B is the primary key. since A is functionally dependent on B and C is f.d on A so you can derive the value of A and C from B only .

as natural join is the equijoin on the common attribute B, it will have a maximum of 100 tuples

Related questions

0 votes
0 votes
0 answers
2
anonymous asked Jul 4, 2016
512 views
2 votes
2 votes
2 answers
4
shiva asked Dec 25, 2015
2,658 views
For which of the following set of functions dependencies does the relation $R(A, B, C, D)$ has $AB, CD$ as closed sets?$A \rightarrow B, B \rightarrow A, C \rightarrow D$...