Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Simple How To: SQL left Join with and clause

Re: Simple How To: SQL left Join with and clause

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Tue, 24 Feb 2004 13:26:23 -0800
Message-ID: <1077657944.80026@yasure>


Andreas wrote:
> joes wrote:
>

>> Hello there
>> I try to rewrite an Access queries for Oracle 8. Now I get in touch
>> with 'LEFT JOIN' and need there some little hint how to do that.

> You don't need to rewrite that much. Left join are ANSI standard, so
> this sould be valid.
> SELECT *
> FROM client LEFT JOIN order
> ON (client.id = order.clientid)
> WHERE order.price < 10.0;

Did you read what the OP wrote? Notice he said "for Oracle 8". What you posted will not work in any version or edition of Oracle 8.

-- 
Daniel Morgan
http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp
http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Tue Feb 24 2004 - 15:26:23 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US