Re: Sorting items in aggregate function (thanks)

Поиск
Список
Период
Сортировка
От Steven Murdoch
Тема Re: Sorting items in aggregate function (thanks)
Дата
Msg-id 20060915091509.GA32646@cl.cam.ac.uk
обсуждение исходный текст
Ответ на Re: Sorting items in aggregate function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
On Tue, Sep 12, 2006 at 04:37:55PM -0400, Tom Lane wrote:
> Note that if you need to GROUP in the outer query, it's best to sort the
> inner query's output first by the outer query's grouping:
...

Great - this works fine. Thanks also to the other people who replied.

Steven.

--
w: http://www.cl.cam.ac.uk/users/sjm217/

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

Предыдущее
От:
Дата:
Сообщение: Re: lower() not working correctly...?
Следующее
От: gould@embl.de
Дата:
Сообщение: Omission of 'FROM' ? diff between pgsql 7.4.1 and pgsql 8.1.4