A repeated parent key makes the row identity ambiguous.
highlighted = computed this step
Duplicate key breaks the rule
If two parent rows reuse the same id, the key no longer points to one clear row.
duplicate id is ambiguous
Show the duplicate
The unique flag becomes no, and duplicate key count is 1.
duplicate keys=1
Key examples are tiny finite table checks; SQL dialects, indexing, query planning, deferrable constraints, enforcement timing, performance, and product behavior are out of scope.
Read the parent rows
The duplicate table lists the repeated value and the parent rows that share it.
ambiguous parent
Summary
A duplicate parent key makes the relationship invalid before any child rows are trusted.