757 views
1 votes
1 votes
Minimum number of tuples in R Natural join S where R and S contains m  and n tuples respectively .

1 Answer

Best answer
3 votes
3 votes

The minimum number of tuples in $R$ Natural join $S$ is $zero,$ when both relations have a common attribute, but does not satisfy the condition.

Let us say

$R$

a b
1 2
2 3

$S$

b c
4 5
6 7


$R\Join_{<b=b>} S$

a b c
     
     

Number of tuples $=0$

And if both relation does not have any common attribute then natural join works as a cartessian product(or cross product).

$R$

a b
1 2
2 3

$S$

c d
4 5
6 7

$R$ Natural Join $S$

a b c d
1 2 4 5
1 2 6 7
2 3 4 5
2 3 6 7

Number of tuples $=4$

selected by

No related questions found