delete from A where a_id in (select id from B where b_id in