Re: SQL question: checking all required items

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: SQL question: checking all required items
Date: 2007-08-10 20:32:34
Message-ID: 46BCCB62.5070206@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/08/2007 21:29, Scott Marlowe wrote:

> select table1.id from table1 where table1.id is not in (select id from table2);

Duh! I should have thought of that.... thanks for that, and apologies
for the stupidity (blame it on the glass of wine I had with dinner!).

Ray.

---------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
---------------------------------------------------------------

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2007-08-10 20:36:07 Re: Dell Hardware Recommendations
Previous Message Scott Marlowe 2007-08-10 20:29:38 Re: SQL question: checking all required items