How can we exclude several values from our results?
NOT IN filters out records whose column values match any entry in a given exclusion set.
Excluding specific departments, filtering out banned accounts, omitting inactive statuses.
SELECT name, department
FROM employees
WHERE department NOT IN ('HR', 'Finance');Practice typing production-grade SQL code for NOT IN.