So wählen Sie nur ID aus, wo sich nicht in der Spalte MySQL befindet

SELECT * FROM Table1 WHERE Table1.principal NOT IN (SELECT principal FROM table2)
Amused Antelope