I currently have, and i'm trying to display the first and last name when there is a bad experience linked to that id. And if a bad experience exists I want to add 1 to my column "strikes" I'm pretty stuck at this point.
SELECT first, last FROM staff JOIN comments
ON staff.id = comments.staff_id AND exp = 'bad'
AND IF EXISTS exp = 'bad'
UPDATE comments
SET strikes = +1
WHERE exp = 'Bad';