A CASE expression starts with visible source rows.
base rows first
Read the input size
The table has 4 input rows.
input rows=4
CASE-expression examples are tiny finite row transforms with SQL-style TRUE/FALSE/UNKNOWN logic; SQL dialect completeness, type coercion, optimizer behavior, indexing, and product claims are out of scope.