From: | Don Baccus <dhogaza(at)pacifier(dot)com> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] Re: Informix and OUTER join syntax |
Date: | 2000-01-12 21:13:08 |
Message-ID: | 3.0.1.32.20000112131308.01051970@mail.pacifier.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
At 03:43 PM 1/12/00 -0500, Bruce Momjian wrote:
> 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?
Along the lines of
SELECT *
FROM tab1 RIGHT JOIN (tab2 RIGHT JOIN tab3 on col1) on col1
more or less. No where clause is needed, of course.
I left my copy of Date's book back in Boston so can't be
precise, guess I'll have to go visit my girlfriend ASAP!
Thomas will probably make it clear I'm all wet here, but by
trying to generate SQL-92 queries myself I'm hoping I'll learn
something.
- Don Baccus, Portland OR <dhogaza(at)pacifier(dot)com>
Nature photos, on-line guides, Pacific Northwest
Rare Bird Alert Service and other goodies at
http://donb.photo.net.
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2000-01-12 22:41:13 | Status request for 7.0 |
Previous Message | Bruce Momjian | 2000-01-12 21:02:03 | Re: [HACKERS] psql updates |