Conceptual
Login

SQL JOIN

A JOIN combines rows from two tables where a predicate over their columns holds; INNER keeps only matches while LEFT/RIGHT/FULL OUTER preserve unmatched rows padded with NULLs. Logically it is a filter over the cross product — the physical algorithm is the optimizer's choice, not the query author's.

Questions this Concept answers

  • In the result of an outer join, what do the NULL values inside a preserved row stand for?