>select * from table1 where field1 in (select field1 from table2) >delete from table1 where field1 in (select field1 from table2)