What are the occupations that are NOT student, lawyer or educator? List them in descending alphabetical order?
SELECT Occupation
FROM Viewer
WHERE occupation NOT IN 'student,lawyer,educator'
ORDER BY occupation desc;
I keep getting an error. What am i doing wrong?
IN requires a list of expressions surrounded by parentheses:
SELECT Occupation
FROM Viewer
WHERE occupation NOT IN ('student','lawyer','educator')
ORDER BY occupation desc;
See the documentation for IN to see the correct syntax:

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With