Several left outer joins on a same table

Поиск
Список
Период
Сортировка
От Th Templ
Тема Several left outer joins on a same table
Дата
Msg-id F515sqMaSORH9HWP5Rv00005184@hotmail.com
обсуждение исходный текст
Ответы Re: Several left outer joins on a same table  (Dave Cramer <Dave@micro-automation.net>)
Re: Several left outer joins on a same table  (Aaron Mulder <ammulder@alumni.princeton.edu>)
Re: Several left outer joins on a same table  (Meder Bakirov <bakirov@transfer.kg>)
Список 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 world�s largest e-mail service with MSN Hotmail.
http://www.hotmail.com


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: Memory usage with Postgres JDBC
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Several left outer joins on a same table