Re: How to find entries missing in 2nd table?

Поиск
Список
Период
Сортировка
От Aaron Bono
Тема Re: How to find entries missing in 2nd table?
Дата
Msg-id bf05e51c0607130846ufdb8a31n5757f67361447c2b@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to find entries missing in 2nd table?  ("Exner, Peter" <Exner@his.de>)
Ответы Re: How to find entries missing in 2nd table?
Список 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 по дате отправления:

Предыдущее
От: "Aaron Bono"
Дата:
Сообщение: Re: How to find entries missing in 2nd table?
Следующее
От: Richard Broersma Jr
Дата:
Сообщение: Re: How to find entries missing in 2nd table?