326 views
Let $R(A,B,C)$ be a relation with primary key $(A)$ and $S(A, D, E)$ a relation with primary key $(A, D)$. Each of the relations has $n$ tuples. If the number of tuples in $R \: \text{ natural join } S$ is $m$, then determine the number of tuples in $R$ $\text{ natural left outer join } S$.

### 1 comment

I think answer should be n to 2n-1

@Arjun Sir verify

Since there are $\text{m}$ rows in the natural join of R and S which contains the common elements. Left outer join of R and S will contain common elements of R, S and left over elements of R which will be $\text{(n-m)}$

Hence total no. of rows in $\text{R left outer join S = m + (n-m)} \\\ = n$
by