From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Wei Weng <wweng@kencast.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Can you help with this JOIN?
Date: Thu, 30 May 2002 10:35:37 -0700 (PDT)
Message-ID: <20020530103115.C44635-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <1022779024.32670.7.camel@Monet>
On 30 May 2002, Wei Weng wrote:
> But how do I write the LEFT OUTER JOIN if I don't do explicit JOINs on
> the other tables? Can I just do
>
> SELECT x FROM a, b, c, LEFT OUTER JOIN d ON (d.id = a.id)?
I think you'd need to write
SELECT x FROM b,c,a LEFT OUTER JOIN d ON (d.id = a.id)
That should force the outer join first, but give flexibility for the rest
of the joins.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: sszabo@megazone23.bigpanda.com, wweng@kencast.com
Subject: Re: Can you help with this JOIN?
In-Reply-To: <20020530103115.C44635-100000@megazone23.bigpanda.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox