COALESCE chooses an output value. WHERE decides whether a row is kept.
value choice not row filter
Read kept rows
Even with 2 NULL results, the expression still returns 4 output rows.
output rows=4
COALESCE examples are tiny finite row transforms with SQL-style NULL choice behavior; SQL dialect completeness, type coercion, optimizer behavior, indexing, and product claims are out of scope.
UNKNOWN belongs to predicates
A WHERE predicate can drop UNKNOWN rows; COALESCE itself only returns a cell value.
WHERE is separate
Summary
NULL result is not the same thing as a filtered-out row.