Salary bands
hardLabel each doctor salary as Under 160k, 160k to 189999, or 190k and above.
Hospital Database · SQLite
Run your SQL answer to see the returned rows and check it.
SELECT first_name, salary, CASE WHEN salary < 160000 THEN 'Under 160k' WHEN salary < 190000 THEN '160k to 189999' ELSE '190k and above' END AS salary_band FROM doctors ORDER BY salary DESC;