Re: Stuck with a query...

Поиск
Список
Период
Сортировка
От Geoff Caplan
Тема Re: Stuck with a query...
Дата
Msg-id 042244774.20050308185343@variosoft.com
обсуждение исходный текст
Ответ на Re: Stuck with a query...  (Greg Stark <gsstark@mit.edu>)
Список pgsql-general
Greg,

GS> There's no efficient way to write this in standard SQL.
GS> However Postgres has an extension DISTINCT ON that would
GS> do it:

Works as advertised - many thanks! I'd missed the DISTINCT
ON extension...

This really is a great list - you've saved me a couple of
hours of agony, I suspect.

------------------
Geoff Caplan
Vario Software Ltd
(+44) 121-515 1154


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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Stuck with a query...
Следующее
От: ntinos@aueb.gr
Дата:
Сообщение: SRF, JDBC and result info