Re: [SQL] OUTER JOINs in PostgreSQL - Mailing list pgsql-sql

From Ant9000
Subject Re: [SQL] OUTER JOINs in PostgreSQL
Date
Msg-id 99060516013600.00767@chomp
Whole thread Raw
In response to Re: [SQL] OUTER JOINs in PostgreSQL  (Jason Earl <jearl@box100.com>)
Responses Re: [SQL] OUTER JOINs in PostgreSQL
List pgsql-sql
On Wed, 02 Jun 1999, you wrote:
>I think that you are looking for something like:
>
>SELECT m.id, m.name, d.lastvisit, d.info
>       FROM master m, detail d
>       WHERE m.id = d.id;
>
>Jason
>

No, that way I get an inner join: in my example the result would be

id | name  | lastvisit | info
-----------------------------
1  | Alpha | Wed Jun 02 19:43:08 1999 CEST | blah blah
1  | Alpha | Wed Jun 02 19:45:08 1999 CEST | some more blah's

and I'm instead looking for this output:

id | name    | lastvisit | info-----------------------------
1  | Alpha   | Wed Jun 02 19:43:08 1999 CEST | blah blah
1  | Alpha   | Wed Jun 02 19:45:08 1999 CEST | some more blah's
2  | Beta     |                                                 |
3  | Gamma |                                                 |



pgsql-sql by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: [SQL] unmatched
Next
From: Tom Lane
Date:
Subject: Re: [SQL] SQL Problem: ERROR: ExecEvalExpr: unknown expression type 108