Re: slow query - where not in

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: slow query - where not in
Дата
Msg-id 20030328175356.GA12549@wolff.to
обсуждение исходный текст
Ответ на Re: slow query - where not in  ("Michael Paesold" <mpaesold@gmx.at>)
Ответы Re: slow query - where not in  (Jeremiah Elliott <jelliott@artcobell.com>)
Список pgsql-performance
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.


В списке pgsql-performance по дате отправления:

Предыдущее
От: Ulli Mueckstein
Дата:
Сообщение: calling analyze from a stored procedure in C
Следующее
От: Jeremiah Elliott
Дата:
Сообщение: Re: slow query - where not in