Re: How to find entries missing in 2nd table? - Mailing list pgsql-sql

From Aaron Bono
Subject Re: How to find entries missing in 2nd table?
Date
Msg-id bf05e51c0607130846ufdb8a31n5757f67361447c2b@mail.gmail.com
Whole thread Raw
In response to Re: How to find entries missing in 2nd table?  ("Exner, Peter" <Exner@his.de>)
Responses Re: How to find entries missing in 2nd table?  ("Nate Teller" <nate.teller@mindspring.com>)
List pgsql-sql
On 7/12/06, Exner, Peter <Exner@his.de> wrote:
Hi,

what about

SELECT controller_id FROM control
WHERE controller_id NOT IN
(SELECT DISTINCT controller_id FROM datapack);

The DISTINCT is not necessary.  I have heard with Oracle that DISTINCT is a huge performance problem.  Is that true on PostgreSQL also?

==================================================================
   Aaron Bono
   Aranya Software Technologies, Inc.
   http://www.aranya.com
==================================================================

pgsql-sql by date:

Previous
From: "Aaron Bono"
Date:
Subject: Re: How to find entries missing in 2nd table?
Next
From: Richard Broersma Jr
Date:
Subject: Re: How to find entries missing in 2nd table?