From: Luis Sousa <llsousa@ualg.pt>
Cc: Laurent Patureau <lpatureau@idfr.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: SELECT with LEFT OUTER JOIN ON
Date: Tue, 19 Feb 2002 12:20:38 +0000
Message-ID: <3C724316.6050303@ualg.pt> (raw)
References: <5.1.0.14.0.20020219105716.02593aa8@pop.noos.fr>
<3C7231AC.4010808@ualg.pt>
Luis Sousa wrote:
> 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
>
Sorry, correction:
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)
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: llsousa@ualg.pt, lpatureau@idfr.net
Subject: Re: SELECT with LEFT OUTER JOIN ON
In-Reply-To: <3C724316.6050303@ualg.pt>
* 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