Relational algebra: products become joins

Combine relations with Cartesian product and predicates, then preserve or discard unmatched tuples as the chosen join boundary requires. Relational algebra and set semantics · Databases.

Two tables can produce too many rows before the matching rule is applied. Build the combinations first, then decide which relationships the result is allowed to keep.

What you will learn

  • Trace product, predicate join and outer join boundaries
  • Distinguish matching pairs from preserved unmatched tuples
  • Explain repeated result rows through tuple multiplicity

Lesson outline

  1. Every pair is a product
  2. A predicate narrows roles
  3. Missing matches remain by policy

16 minutes · 2 scenes · 0 predict checks · 10 quiz questions

The full lesson is available with Premium.