Concept Flow - CASE in SELECT for computed columns
Start Query
Read each row
Evaluate CASE condition
Condition True?
Yes→Return THEN value
Check next WHEN or ELSE
Add computed column value
Return row with computed column
Repeat for all rows
End Query
The query reads each row, evaluates the CASE conditions to compute a new column value, then returns the row with this computed column.