SQL Semantics
SELECT DISTINCT collapses duplicate projected rows.
SELECT DISTINCT asks SQL to collapse duplicate projected rows. Without that word, the bag remains a bag. Note: deduplication is explicit in this book.
Plain projection had row count 5, while DISTINCT recomputes row count 2. Note: the render shows the deduplicated result.
SQL bag/multiset + three-valued NULL logic, deterministic but surprising; tiny finite tables; no engine/perf claims. Set algebra is Book 1.
DISTINCT is the set-like escape hatch inside bag SQL. Note: bag multiplicity and NULL behavior are here; pure set algebra was Book One.