Re: Top N within groups?

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Top N within groups?
Дата
Msg-id 20080711074704.GB11710@svana.org
обсуждение исходный текст
Ответ на Top N within groups?  (Klint Gore <kgore4@une.edu.au>)
Ответы Re: Top N within groups?  (Klint Gore <kgore4@une.edu.au>)
Список pgsql-general
On Fri, Jul 11, 2008 at 01:24:28PM +1000, Klint Gore wrote:
> [thinking out loud]
> Can someone familiar with the source for DISTINCT ON comment on how hard
> it would be to add another parameter to return more than one row?

From a programming point of view, it wouldn't be too hard. However,
deciding what syntax to use is a another question entirely. I think
your suggestion of FOR isn't good (ambiguous syntax, 'for' could be a
column name), but I can't think of a better one.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

Вложения

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

Предыдущее
От: "Michael Shulman"
Дата:
Сообщение: view row-level locks
Следующее
От: "Ivan Zolotukhin"
Дата:
Сообщение: Re: storing latitude and longitude