Skip to main content
✏️ Code CompletionSQ SQL Medium+20 XP

CASE Expression

Complete the CASE expression.

✏️ Fill in the blank
SELECT name,
  ___ WHEN salary > 80000 THEN 'Senior'
       WHEN salary > 50000 THEN 'Mid'
       ELSE 'Junior' END AS level
FROM employees;

✏️ Type the missing code: