The toy optimizer chooses the plan with fewer estimated work units.
lower estimate wins
Compare two rows
Nested loop has 24 units and hash join has 11 units, so the chosen plan is hash_join.
hash work=11
Optimizer-choice examples are named toy estimate-model outputs; they are not benchmark results, database-product claims, hardware claims, or real speed predictions.
Read the chosen flag
Only the lower estimate row is marked chosen.
chosen by estimate
Summary
This answers the Book Four question inside a named model boundary.