I am trying to execute the following query in oracle but not able to form it here
user_id = 561 in x1_table. The query looks like
delete from x1_table where id in (select id from y1_table where actual_id=123 )
and user_id of x1_table should not be a part of select owner_id from y1_table
Since we have column ‘id’ common in both the tables we can frame query using join