Duplicate roles can match while NULL manager keys do not.
highlighted = computed this step
Duplicate roles and NULLs
Duplicate role values can create peer rows, while NULL manager keys create no match.
duplicates and NULLs
Read both boundaries
Duplicate role rows produce 2 peer rows; NULL-key candidate pairs are 4.
peer rows=2
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.
Qualified output
The output columns keep alias names so the two roles stay readable.
alias qualified output
Summary
Duplicate values and NULL boundaries are both visible before the final output is trusted.