ROWID mismatch
656310Jun 3 2013 — edited Jun 4 2013Hallo,
please could someone explain to me, what is the REASON for following Oracle behaviour?
SQL:
select '1' from dual a
left join (
select c.dummy
--, b.rowid
from dual b
join dual c
on b.dummy = c.dummy) d
on a.dummy = d.dummy;
If I uncomment column b.rowid Oracle returns error : ORA-00918: column ambiguously defined.
If I put alias ( b.rowid x) it works, but anyway I would like to know the cause.
Note: SQL above is simplified and reproducible version of our application SQL code.
Thank you. Filip