pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ant9000 <ant9000@seldati.it>
To: pgsql-sql@postgreSQL.org
Cc: Jason Earl <jearl@box100.com>
Subject: Re: [SQL] OUTER JOINs in PostgreSQL
Date: Sat, 5 Jun 1999 15:56:31 +0200
Message-ID: <99060516013600.00767@chomp> (raw)
References: <199906022108.PAA13896@earlj.nesusa.com>

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 |                                                 |




view thread (6+ messages)  latest in thread

Message-ID: <99060516013600.00767@chomp>
Permalink:  ../99060516013600.00767@chomp/
Also on:    postgresql.org/message-id/99060516013600.00767@chomp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: ant9000@seldati.it, jearl@box100.com
  Subject: Re: [SQL] OUTER JOINs in PostgreSQL
  In-Reply-To: <99060516013600.00767@chomp>
  References: <199906022108.PAA13896@earlj.nesusa.com> <99060516013600.00767@chomp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox