in Databases retagged by
533 views
1 vote
1 vote

Consider the join of a relation $R$ with relation $S$. If $R$ has $m$ tuples and $S$ has $n$ tuples, then the maximum size of join is

  1. $mn$
  2. $m+n$
  3. $(m+n)/2$
  4. $2(m+n)$
in Databases retagged by
by
533 views

2 Answers

2 votes
2 votes
First step in join is cross product. As here there is no key constrain we can have all values same for the field we are performing join on. Hence maximum will be mn tuples.

So A is correct.
0 votes
0 votes

Answer:  because there is no constraint  mentioned on the question that is on what attributes it has to apply thus indirectly is saying about the cross product, and we also know that 

                     Join:- Cross Product + Selection