From: Bruno Wolff III <bruno@wolff.to>
To: Michael Paesold <mpaesold@gmx.at>
Cc: Jeremiah Elliott <jelliott@artcobell.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: slow query - where not in
Date: Fri, 28 Mar 2003 11:53:56 -0600
Message-ID: <20030328175356.GA12549@wolff.to> (raw)
In-Reply-To: <028e01c2f54a$9af3d010$3201a8c0@beeblebrox>
References: <200303280938.50382.jelliott@artcobell.com>
<20030328155933.GA10761@wolff.to>
<028e01c2f54a$9af3d010$3201a8c0@beeblebrox>
On Fri, Mar 28, 2003 at 17:53:46 +0100,
Michael Paesold <mpaesold@gmx.at> wrote:
> Bruno Wolff III <bruno@wolff.to> wrote:
>
> I think this should rather be:
>
> SELECT shoporder FROM sodetailtabletrans
> WHERE NOT EXISTS (
> SELECT 1 FROM soheadertable
> WHERE soheadertable.shoporder = sodetailtabletrans.shoporder
> )
Thanks for catching my mistake.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: bruno@wolff.to, mpaesold@gmx.at, jelliott@artcobell.com
Subject: Re: slow query - where not in
In-Reply-To: <20030328175356.GA12549@wolff.to>
References: <200303280938.50382.jelliott@artcobell.com> <20030328155933.GA10761@wolff.to> <028e01c2f54a$9af3d010$3201a8c0@beeblebrox> <20030328175356.GA12549@wolff.to>
* 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