Jak sprawdzić, czy wartość istnieje w innej tabeli Mysql

SELECT *
FROM tableB
WHERE ID NOT IN (
  SELECT ID FROM tableA
);
Nasty Nightingale