1,159 views
0 votes
0 votes
Consider the relation r1(P,Q,R) and r2(R,U,V) with primary keys R and U respectively.The relation r1 contains 1500 tuples and r2 contains 2000 tuples.The max size of the join r1  join  is

1 Answer

Best answer
1 votes
1 votes

Since attribute R is the primary key in R1, it should contain unique values assume 1, 2, 3, 4 .........1499, 1500 (1500 tuples)

There is no constraint on attribute R in R2, it can contain duplicate values assume 1, 1, 1 ...... upto last tuple (2000 tuples) 

If we take natural join of R1 and R2, entry 1 under R (R1 table) matches with 2000 values of 1 under R (R2 table).

Hence maximum 2000 tuples present in natural join

selected by

Related questions

0 votes
0 votes
1 answer
2
Shukrayani asked Oct 30, 2018
352 views
A system where commutativity is considered different, in how many ways the join of n relations r1,r2, . . . ,rn canbe taken?
0 votes
0 votes
1 answer
3
Balaji Jegan asked Oct 23, 2018
185 views
0 votes
0 votes
2 answers
4
daksirp asked Aug 15, 2018
408 views
Please clear my doubt by solving this !!