From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: Informix and OUTER join syntax |
Date: | 2000-01-12 20:43:10 |
Message-ID: | 200001122044.PAA13564@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Looking in the Informix manuals, I now see how they handle complex outer
> joins:
>
> SELECT *
> FROM tab1, OUTER(tab2, tab3)
> WHERE tab1.col1 = tab2.col1 AND
> tab2.col1 = tab3.col1
>
> It does the tab2, tab3 join first, then _outer_ joins to tab1.
> Interesting.
Here is another example that does a double outer join:
SELECT *
FROM tab1, OUTER(tab2, OUTER tab3)
WHERE tab1.col1 = tab2.col1 AND
tab2.col1 = tab3.col1
It does the tab2, tab3 as an _outer_ join first, then _outer_ joins to
tab1. Even more interesting.
Can someone show me this in ANSI syntax?
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Brook Milligan | 2000-01-12 20:54:20 | Re: [HACKERS] psql -f inconsistency with "copy from stdin" |
Previous Message | Bruce Momjian | 2000-01-12 20:38:10 | Informix and OUTER join syntax |