I have two tables, one:
INSERT INTO `fictional_companies` (`ID`, `name`) VALUES (8209948, 'Moulon Rouge LTD'), (11399177, 'Burgers Burgers Burgers LTD'); and two:
INSERT INTO `processed` (`ID`) VALUES ('8209948'); I want to return results from the fictional_companies table, but only if they don't exist in the processed table.
In the example case, this would be the result:
(11399177, 'Burgers Burgers Burgers LTD')
EXCEPTclause does not work in MySQL :-) Agree about the nth dupe part.