-- The CASE expression goes through conditions and returns a value when the first condition is met (like an if-then-else statement). -- So, once a condition is true, it will stop reading and return ...
WHEN es.Annual_Salary > 100000 THEN 'High Earning' WHEN es.Annual_Salary BETWEEN 90000 AND 100000 THEN 'Middle Earning' ...