help with troublesome query

Поиск
Список
Период
Сортировка
От teknokrat
Тема help with troublesome query
Дата
Msg-id bf0vdv$3pi$1@localhost.localdomain
обсуждение исходный текст
Ответы Re: help with troublesome query  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-sql
I have three tables customers which 1-many with requests which is 1-1 
with applications. all customers have at least one request but not all 
requests have an application.

I want a query to return all the customers and their application data if 
they have any ( or else null). So this is like a left join of customers  with applications but I do not want multiple
rowsof customers UNLESS 
 
they have an application.

thanks




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

Предыдущее
От: Scott Cain
Дата:
Сообщение: Cannot insert dup id in pk
Следующее
От: "Viorel Dragomir"
Дата:
Сообщение: Re: summing tables