Re: Re: Does PostgreSQL support EXISTS?

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: Re: Does PostgreSQL support EXISTS?
Дата
Msg-id 20010613092102.A4884@feivel.credativ.de
обсуждение исходный текст
Ответ на Re: Re: Does PostgreSQL support EXISTS?  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: Re: Does PostgreSQL support EXISTS?
Re: Re: Does PostgreSQL support EXISTS?
Список pgsql-general
On Wed, Jun 13, 2001 at 12:23:15PM +1000, Martijn van Oosterhout wrote:
> select x from a where v in (select v from b)
> select x from a where exists (select 1 from b where a.v = b.v)

The latter should be faster than the former on every relational database
system.

Michael
--
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

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

Предыдущее
От: Michael Dunn
Дата:
Сообщение: Re: PLPGSQL: Using SELECT INTO and EXECUTE
Следующее
От: "F. Masselink"
Дата:
Сообщение: function / trigger problem