in Databases
587 views
0 votes
0 votes
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 natural join S is m, then determine the number of tuples in R natural left outer join S.
in Databases
587 views

3 Comments

maximum no of tuples???
0
0
This was the question given i just copied it. I don't have the solution nor the answer.
0
0
ok

i think it  should be maximum otherwise answer is varies according to question.
0
0

1 Answer

1 vote
1 vote

first row  of relation R is join with each row's with relation S. then we get maximum tuples.

1 comment

This is wrong It depends on the number of distinct values in column A of Table S that have joined with column A of table R. Let this value be Nd. Then ans: (n - Nd) + m.
0
0

Related questions