Re: problem with join - Mailing list pgsql-sql

From Bruno Wolff III
Subject Re: problem with join
Date
Msg-id 20070215040252.GA24667@wolff.to
Whole thread Raw
In response to problem with join  ("Edward W. Rouse" <erouse@comsquared.com>)
List 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 by date:

Previous
From: "Phillip Smith"
Date:
Subject: Re: Regaring posting a query
Next
From: Achilleas Mantzios
Date:
Subject: Re: can someone explain confusing array indexing nomenclature