I\'m having problems with this not returning any values. There are accounts in the database that match this criteria. Somewhat confused why they aren\'t being returned. Any sugg
Ensure you're referencing the field you don't want to be present in the subquery result:
select accountid from `table1` where accountid not in (select accountid from `table1` where action != "Action8")