Duplicate keys on both sides can multiply into several output rows.
duplicates multiply
Read duplicate output
Duplicate keys create 5 matched pairs and 5 output rows.
output rows=5
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.
Bag-style output
The compiler does not deduplicate the matched pairs.
no dedup step
Summary
Duplicate matching keys are visible in the row count.