Re: SELECT with LEFT OUTER JOIN ON

From: Luis Sousa <llsousa(at)ualg(dot)pt>
To: Laurent Patureau <lpatureau(at)idfr(dot)net>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: SELECT with LEFT OUTER JOIN ON
Date: 2002-02-19 11:06:20
Message-ID: 3C7231AC.4010808@ualg.pt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Instead of:

FROM formation f, ref_unite_de_duree u, ref_unite_de_duree u1
LEFT OUTER JOIN ON (f.unite_duree_entreprise=u.id
AND f.unite_duree_totale=u1.id)

try:

FROM formation f LEFT OUTER JOIN ref_unite_de_duree u ON
(f.unite_duree_entreprise=u.id)
LEFT OUTER JOIN ref_unite_de_duree u1 ON
(f.unite_duree_entreprise=u1.id)

I don't know if the results are that you expect but the sintax, I think
is correct !

Best regards, Luis Sousa

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Luis Sousa 2002-02-19 12:20:38 Re: SELECT with LEFT OUTER JOIN ON
Previous Message Laurent Patureau 2002-02-19 10:00:59 SELECT with LEFT OUTER JOIN ON