<html>
<br>
Hi,<br>
my query is :<br><br>
CREATE VIEW "vue_formation" AS SELECT <br>
f.numero_formation, <br>
f.intitule_1 || ' ' || f.intitule_2 || ' ' || f.intitule_3 AS intitule,
<br>
f.convention, <br>
f.subvention, <br>
f.effectif_conv, <br>
f.eff_subv, <br>
f.rythme_1 || ' ' || f.rythme_2 || ' ' || f.rythme_3 AS rythme, <br>
f.duree_entreprise || ' ' || u.nom || ' ' || f.commentaire_duree AS
duree_entreprise, <br>
f.public_1 || ' ' || f.public_2 || ' ' || f.public_3 AS public, <br>
f.admission_1 AS admission_1, <br>
f.admission_2 || ' ' || f.admission_3 AS admission_2, <br>
f.unknown_3 AS ref_admission, <br>
f.statut AS statut, <br>
f.duree_totale || ' '|| u1.nom AS duree_totale <br>
FROM formation f, ref_unite_de_duree u, ref_unite_de_duree u1<br>
LEFT OUTER JOIN ON (f.unite_duree_entreprise=3Du.id <br>
AND f.unite_duree_totale=3Du1.id) <br>
ORDER BY intitule<br><br>
There's a mistake near the ON, I don't find any example using join
condition on postgres.org/idocs<br>
Is anybody could help me (correct syntax or link with example).<br>
I find the doc on it not really complete.<br><br>
rgds,<br><br>
<br><br>
<x-sigsep><p></x-sigsep>
Laurent Patureau.<br>
____________________________________<br>
<font size=3D2> =
&nb
sp;
Laurent Patureau<br>
&nb
sp;
</font><font size=3D1>S.A.R.L.</font><font size=3D2> ID.fr<br><br>
&nb
sp;
dfr.net</a><br><br>
&nb
sp;
<a href=3D"http://www.idfr.net/" eudora=3D"autourl">http://www.idfr.net</a>=
<br><br>
Porter un nouveau regard =E0 votre audience :<br>
&nb
sp;
<a href=3D"http://www.wysistat.com/" eudora=3D"autourl">http://www.wysistat=
.com</a><br><br>
&nb
sp;
Tel : 03 81 48 03 13<br>
&nb
sp;
Fax : 03 81 48 04 83<br><br>
16,
Boulevard Winston Churchill<br>
&nb
sp;
25 000 Besan=E7on<br>
___________________________________</font></html>