Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Using the + statement in a Select statement
Isaac Blank wrote:
> "Ed Prochak" <edprochak_at_adelphia.net> wrote in message
> news:3E7780C7.50703_at_adelphia.net...
>
>>I forgot the symantics of the ANSI syntax, and it took a bit to find my >>reference book. But given your query, it was easy to write: >> >>Select <something> >>from (select * from A, B where a.f1=b.f1(+) ) BB, C >>where c.f2=bb.f2(+) ;
okay then I did miss something. Thanks for pointing that out.
>
>>This looks interesting if it happened in real life.
Yes, now I see that. (I'll need to practice my ANSI syntax more often.)
>
>
>>....................................................................But I
>>"upside down" query that you expected.
>>Or did I miss something stupid? 8^>
Okay so I should have named my alias AB?
>
> And that is, of course, a perverted way, since the order of joins is
> opposite to what the original query was about.
>
>
Translating between even related languages like old style SQL and new style SQL (or american english to british english) can sometimes lead to unusual expressions.
Thanks for the lesson!
-- Ed Prochak running: http://www.faqs.org/faqs/running-faq/ family: http://web.magicinterface.com/~collins -- "Two roads diverged in a wood and I I took the one less travelled by and that has made all the difference." robert frostReceived on Fri Mar 21 2003 - 11:39:59 CST
![]() |
![]() |