Re: compare 2 tables in sql - Mailing list pgsql-sql

From Jonah H. Harris
Subject Re: compare 2 tables in sql
Date
Msg-id 36e682920803191539i634ad367h14644ccf6b3b1661@mail.gmail.com
Whole thread Raw
In response to compare 2 tables in sql  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
List pgsql-sql
On Wed, Mar 19, 2008 at 1:56 PM, Tena Sakai <tsakai@gallo.ucsf.edu> wrote:
>  Is there a sql way to compare (in a diff/cmp sense)
>  2 tables?  For example,

SELECT * FROM foo
EXCEPT
SELECT * FROM moo;

-- 
Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
EnterpriseDB Corporation | fax: 732.331.1301
499 Thornall Street, 2nd Floor | jonah.harris@enterprisedb.com
Edison, NJ 08837 | http://www.enterprisedb.com/


pgsql-sql by date:

Previous
From: Christopher Crews
Date:
Subject: Date and filling issues
Next
From: "Osvaldo Kussama"
Date:
Subject: Re: Date and filling issues