-1
$\begingroup$

Considering only basic relational algebra operations, how can we implement the full outer-join ?

$\endgroup$
2
  • $\begingroup$ A simple google search yields this $\endgroup$
    – Sagnik
    Commented Feb 16, 2018 at 6:29
  • $\begingroup$ @Sagnik well, I need to ignore any type of join and only consider basic operations (the solution comes with inner join). $\endgroup$
    – fhm
    Commented Feb 16, 2018 at 13:43

1 Answer 1

1
$\begingroup$

Full outer join returns null in the columns of rows from one table that don't match the other table -- that's a description of SQL.

Standard Relational Algebra doesn't have nulls. Here explains what would be the consequences.

Short answer: 'we' don't want to implement outer joins. If you think you do, think some more until you see why it leads to incoherence of queries.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.