From: | Ant9000 <ant9000(at)seldati(dot)it> |
---|---|
To: | pgsql-sql(at)postgreSQL(dot)org |
Cc: | Jason Earl <jearl(at)box100(dot)com> |
Subject: | Re: [SQL] OUTER JOINs in PostgreSQL |
Date: | 1999-06-05 13:56:31 |
Message-ID: | 99060516013600.00767@chomp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | |
From | Date | Subject | |
---|---|---|---|
Next Message | stevew | 1999-06-05 18:00:00 | internal tables |
Previous Message | Jan Wieck | 1999-06-04 23:28:52 | Re: [SQL] RV: A little problem updating data with views |