This is probably very easy, but it\'s Monday morning. I have two tables:
Table1:
Field | Type | Null | Key | Default | Extra id
I think this is what you want:
DELETE FROM `table1` WHERE `group` in (SELECT DISTINCT `group` FROM `table2`)