Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Outer Join Tuning ?!?
Try this :-
select a.id
from a, b where a.id = b.id(+) and a.name = 'A'
select a.id from a, b where a.id = b.id(+) and a.name = 'B'
;
Thomas Jagoditsch wrote in article <33B0FD25.1E0BEB53_at_geocities.com>...
>hi !
>
>following SQL-Select seems to be diffcult to tune>Examples:
>
>1.) outer table join with or:
>
> explain plan for
> select a.id
> from a, b
> where a.id = b.id(+) and
> a.name in ('A','B');
>
Received on Mon Jun 30 1997 - 00:00:00 CDT