Re: a question on SQL

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: a question on SQL
Дата
Msg-id 20061212203115.GC10037@svana.org
обсуждение исходный текст
Ответ на Re: a question on SQL  ("Tomi N/A" <hefest@gmail.com>)
Ответы Re: a question on SQL  ("Greg Sabino Mullane" <greg@turnstep.com>)
Список pgsql-general
On Tue, Dec 12, 2006 at 06:29:07PM +0000, Tomi N/A wrote:
> Ragnar, Marc, thanks so much for the help: DISTINCT ON was *exactly*
> what I needed.
> It's not a part of any SQL standard I know of, but does the job
> _wonderfully_.

It's the single most useful non-standard SQL feature postgresql has. It
is thus simultaneously bad (from a portatbility aspect) and brilliant
(because it's a million times easier and faster than the alternatives).

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: PostgreSQL 8.2 : IPO link warning with ICC 9.1.045
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Online index builds