edited by
397 views
0 votes
0 votes

If there are no attributes in common between two relations R and S then, what should be the result of (R natural join S)?

1) R x S

2) $\phi$

I think option 2 because of following definition from Korth:

edited by

1 Answer

Best answer
3 votes
3 votes
Option a is correct ,

If there are no common attribute between Relation R and S then natural join degrades to cartesian product .

Option b would have been correct , if there was a common attribute Atribute and none of tuple would have same value for that attribute

Hence the answer is option 1 :)
selected by

Related questions

0 votes
0 votes
0 answers
1
aditi19 asked May 8, 2019
814 views
how to write the query for natural join on three relations in SQL using the NATURAL JOIN clause?
1 votes
1 votes
0 answers
2
iarnav asked Nov 27, 2017
590 views
Let R and S be two relations with the following schemaR(P−−,Q−−,R1,R2,R3)S(P−−,Q−−,S1,S2)where {P,Q} is the key for both schemas?R:{⟨"1","abc","p1","p2"...
0 votes
0 votes
0 answers
3
aditi19 asked Nov 2, 2018
308 views
in case of outer join for combining two tables, if there is no common attribute does it returns cartesian product just like natural join does?