pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joel Fradkin <jfradkin@wazagua.com>
To: 'Kent Anderson' <kenta@ezyield.com>
To: 'Pgsql-Sql@Postgresql. Org' <pgsql-sql@postgresql.org>
Subject: Re: How do you compare contents of two tables using 2 pk
Date: Thu, 24 Feb 2005 12:36:16 -0500
Message-ID: <005601c51a97$58bf67d0$797ba8c0@jfradkin> (raw)
In-Reply-To: <LPENJIOOLAIJBFKIBDKOEECKMEAD.kenta@ezyield.com>

Couldn’t you do a select * from t1 where not in uniquevar (select uniquevar
from t2)?
Or do a join and select on a value in t2 being null.

Joel Fradkin
 





view thread (2+ messages)

Message-ID: <005601c51a97$58bf67d0$797ba8c0@jfradkin>
Permalink:  ../005601c51a97$58bf67d0$797ba8c0@jfradkin/
Also on:    postgresql.org/message-id/005601c51a97$58bf67d0$797ba8c0@jfradkin

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jfradkin@wazagua.com, kenta@ezyield.com
  Subject: Re: How do you compare contents of two tables using 2 pk
  In-Reply-To: <005601c51a97$58bf67d0$797ba8c0@jfradkin>

* 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