Join question

Поиск
Список
Период
Сортировка
От Williams, Travis L, NEO
Тема Join question
Дата
Msg-id AB815D267EC31A4693CC24D234F8291605A0C537@ACCLUST02EVS1.ugd.att.com
обсуждение исходный текст
Ответы Re: Join question  ("Thomas A. Lowery" <tlowery@stlowery.net>)
Список pgsql-general
Question,

I have a table (1) with 2 col (a & b) where b can sometimes be null.  I need a query that if B is null I get back the
contentsof A.. but if B is not null I do a join on it and table (2) col c to get the contents of table (2) col d..   I
cando this in multiple queries.. but was wondering if I could do it in 1. 

Travis

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

Предыдущее
От: "Clay Luther"
Дата:
Сообщение: Re: left outer join terrible slow compared to inner join
Следующее
От: Doug McNaught
Дата:
Сообщение: Re: backends