table1
col1 int,col2 text,col3 text
table2
col1 int,col4 text
delete from table1 where col1 in (select col1 from table2);
table1
col1 int,col2 text,col3 text
table2
col1 int,col4 text
delete from table1 where col1 in (select col1 from table2);