Concept Flow - CASE in WHERE clause
Start Query Execution
Evaluate WHERE Clause
CASE Expression Evaluated
Compare CASE Result to Condition
Row Included if Condition True
Next Row or End
The query checks each row by evaluating the CASE expression inside the WHERE clause, then includes the row if the condition is true.