Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> astonishing(?) sql
Let promocja and kategoryzacja by any tables with master detail
relationship.
The query below completely ignores the last where clause.
It produces rows with value of the third column different from 216.
select t.rowid, t.detid, t.masnic
from (select *
from (select k.xx detid, p.xx masnic from promocja p, kategoryzacja k where p.kat_xx=k.xx ) order by masnic ) t
Can You explain this?
Regards,
Marcin Received on Mon Jan 21 2002 - 05:57:31 CST