Re: combining tables

From: Cliff Nieuwenhuis <cliff(at)nieusite(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: combining tables
Date: 2008-10-26 04:59:28
Message-ID: 20081025235928.42951f23@killick
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


G. J. Walsh wrote:

> 1 of the 4 tables has the complete range of keys, in this case about
> 1,000. The other 3 tables have data representing most but not all of
> those keys, and in different sets. I want to end up with a new
> 'combined' table which will allow me to immediately 'see' missing data
> from the 3 smaller tables and take the necessary steps to 'fill in the
> blanks'. I realize I would of course have to create that table without
> constrictions other than the primary key.

Do you mean you want to find keys that exist in the 'main' table but
have no match in the other three tables?

--
Cliff Nieuwenhuis

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message G. J. Walsh 2008-10-26 05:26:56 Re: combining tables
Previous Message G. J. Walsh 2008-10-26 01:02:39 combining tables