Re: Trouble with strange OUTER JOIN syntax

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: farid(dot)hajji(at)ob(dot)kamp(dot)net
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Trouble with strange OUTER JOIN syntax
Date: 2001-05-24 19:05:57
Message-ID: 1846.990731157@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Farid Hajji <farid(dot)hajji(at)ob(dot)kamp(dot)net> writes:
> How would you translate the following SELECT statements with
> outer joins to PostgreSQL syntax?

> SELECT ...
> FROM tab1 alias_tab1, tab2 alias_tab2,
> OUTER ot1 alias_ot1,
> OUTER ot2 alias_ot2
> WHERE ...

> SELECT
> FROM tab1 alias_tab1, tab2 alias_tab2,
> OUTER (ot1 alias_ot1, ot2 alias_ot2)
> WHERE ...

Tell me what that means, and I'll tell you how to translate it.
What is being joined to what, on what keys, and which side is
allowed to become null in the join?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-05-24 19:17:53 Re: [HACKERS] HP Unix 11.00 Compiler error.
Previous Message Thalis A. Kalfigopoulos 2001-05-24 18:58:36 OID wrap around