In sql, if we have the following relations :
A(B,C)
with values{ (1,2), (3,4), (5,6) }
D(B,E)
with values{ (1,2), (3,4), (7,8), (9,10) }
Would the resulting table be BCE
with values { (1,2,2), (3,4,4), (5,6,null), (7,null,8), (9,null,10) }
for the operation:
SELECT * FROM A NATURAL FULL OUTER JOIN D
Also what would happen in the case of natural left outer join
and natural right outer join
?