A composite key join checks more than one column at the same time.
sid and term
Read composite matches
The compiler checks 2 key columns and produces 2 output rows.
key columns=2
Inner-join examples are tiny finite-table transforms; SQL dialect completeness, type coercion, optimizer behavior, execution cost, indexing, and database-product claims are out of scope.
All key parts must match
A row with the right sid but the wrong term is not a match.
all key parts
Summary
Composite joins still use the same finite candidate-pair check.