Re: SQL question: checking all required items

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: rod(at)iol(dot)ie
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: SQL question: checking all required items
Date: 2007-08-10 20:42:45
Message-ID: dcc563d10708101342j37765ebfj1105a9f820778537@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 8/10/07, Raymond O'Donnell <rod(at)iol(dot)ie> wrote:
> 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!).

It's only obvious after you've done it a few times...

Show us the query when you're done, I'm sure there are enough folks
who'd like to see your solution.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-08-10 20:59:52 Re: timestamp skew during 7.4 -> 8.2 upgrade
Previous Message Joel Fradkin 2007-08-10 20:36:46 Re: Dell Hardware Recommendations