The finite self join compares each left-alias row with each right-alias row.
alias pair grid
Read candidate count
The candidate table has 16 alias pairs.
candidate pairs=16
Self-join examples are tiny finite-table transforms with two aliases of one source table; SQL dialect completeness, type coercion, optimizer behavior, execution cost, indexing, and database-product claims are out of scope.
Source order
Pairs render in left-alias source order, then right-alias source order.
left alias then right alias
Summary
Candidate pairs are possible rows, not output rows yet.