IT lexicon › Database › Join operation

Join operation

Database På svenska → Updated: 2026-11-10

An operation combining rows from two or more tables based on a join condition, fundamental to relational databases' ability to recombine normalized data.

Joins are the heart of relational algebra and allow results to reconnect normalized data fragments. They come in flavors: INNER JOIN (matching rows only), LEFT/RIGHT JOIN (one table is primary), FULL OUTER JOIN (all rows from both sides). The query planner's choice of join algorithm—nested loop, hash join, sort-merge—is one of the biggest performance levers in any database engine.

The evolution from CODASYL network databases' explicit pointer navigation to SQL's declarative JOIN syntax marked a paradigm shift. Query optimizers now spend enormous effort deciding which algorithm to apply for millions of rows, and the wrong choice can make a query run 100× slower.

← Back to the lexicon