Re: [HACKERS] Enhancing PGSQL to be compatible with Informix SQL - Mailing list pgsql-hackers

From Don Baccus
Subject Re: [HACKERS] Enhancing PGSQL to be compatible with Informix SQL
Date
Msg-id 3.0.1.32.20000107133552.00ee2b44@mail.pacifier.com
Whole thread Raw
In response to Re: [HACKERS] Enhancing PGSQL to be compatible with Informix SQL  (The Hermit Hacker <scrappy@hub.org>)
List pgsql-hackers
At 12:00 AM 1/7/00 -0400, The Hermit Hacker wrote:
>On Thu, 6 Jan 2000, Bruce Momjian wrote:
>
>> > select ...
>> > from t1 inner join t4 on t1.x=t4.x,
>> >      t2 left outer join t1
>> >        on t2.y=t1.y and
>> >           (t1.start_date between t2.start_date and t1.start_date),
>> >      t3 left outer join t1 on t3.x=t1.x and t3.y = t1.y;
>> 
>> Let's be honest, folks.  This is almost unreadable.  I think we will
>> need some simpler way to access _outer_ in addition to the ANSI way.

Well...it took a minute to digest the Oracle version, too.  Most joins
are far simpler than the example.

>How do the "books" talk about JOINs?  What is the semi-standard syntax
>that is generally used in samples?

"SQL for smarties" gives examples of vendor-specific syntax then talks
about outer joins more abstractly.  It also points out that the existing
vendor solutions have weaknesses.



- Don Baccus, Portland OR <dhogaza@pacifier.com> Nature photos, on-line guides, Pacific Northwest Rare Bird Alert
Serviceand other goodies at http://donb.photo.net.
 


pgsql-hackers by date:

Previous
From: Lamar Owen
Date:
Subject: Re: [HACKERS] [Fwd: Re: First Major Open Source Database]
Next
From: Don Baccus
Date:
Subject: Re: [HACKERS] Enhancing PGSQL to be compatible with Informix SQL