Several left outer joins on a same table

From: "Th Templ" <templ_th(at)hotmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Several left outer joins on a same table
Date: 2002-07-23 09:38:18
Message-ID: F515sqMaSORH9HWP5Rv00005184@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hello,

This is a problem about several left outer joins on a same table.

Here are my tables

Personne
------------
int lieu1
int lieu2

Lieu
------------
int lieu_id
varchar(50) lieu_nom

I want to have in a single request the name of lieu1 and/or lieu2 in the
'Lieu' table if there is a correspondance and if there are not null.
I see the postgresql documentation and I have no problem to make one left
outer join, but two??

Thans for your answers
Templ

_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Meder Bakirov 2002-07-23 09:47:26 Re: Several left outer joins on a same table
Previous Message Dave Cramer 2002-07-23 09:31:31 Re: Memory usage with Postgres JDBC