delete ..... where exists()
If I execute this statement, the whole table 'table1' will be deleted regardless from version number.
Why ?
delete table1 where exists(
select * from table1 inner join table2 on table1.id1=table2.id
where table2.version=303 )
Testet with Oracle 10g and Oracle SQL Developer.