Re: Can you help with this JOIN? - Mailing list pgsql-sql

From Stephan Szabo
Subject Re: Can you help with this JOIN?
Date
Msg-id 20020530103115.C44635-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Re: Can you help with this JOIN?  (Wei Weng <wweng@kencast.com>)
List pgsql-sql
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.




pgsql-sql by date:

Previous
From: Wei Weng
Date:
Subject: Re: Can you help with this JOIN?
Next
From: Tom Lane
Date:
Subject: Re: Can you help with this JOIN?