A foreign key stores the parent key value on each child row.
highlighted = computed this step
Foreign keys are row links
Each child row stores a value that should match one parent key value.
child value points to parent
Show the links
The compiler checks 3 child-to-parent links, and the valid flag is yes.
references=3
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 child-to-parent links
The link table shows each child row, its key value, and the matching parent row.
matched rows are visible
Summary
The diagram is a finite reference check, not an index lookup or query plan.