Re: problem with join

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: problem with join
Дата
Msg-id 20070215040252.GA24667@wolff.to
обсуждение исходный текст
Ответ на problem with join  ("Edward W. Rouse" <erouse@comsquared.com>)
Список pgsql-sql
On Wed, Feb 14, 2007 at 17:21:44 -0500, "Edward W. Rouse" <erouse@comsquared.com> wrote:
>  
> I tried using coalesce(count(value4)) and case count(value4) = 0
> with no luck. I tried left and right joins and the right join gave me 
> the same results while the left join gave me rows like:

That is because neither side of the join had all combinations of numbers
and letters. One approach would be to cross join a table with 'one', 'two',
and 'three' with one with 'a', 'b', 'c', 'd', 'e', and 'f'. And then
left join the query above to it.


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

Предыдущее
От: "Phillip Smith"
Дата:
Сообщение: Re: Regaring posting a query
Следующее
От: Achilleas Mantzios
Дата:
Сообщение: Re: can someone explain confusing array indexing nomenclature