7.4, 'group by' default ordering?

Поиск
Список
Период
Сортировка
От Mike Nolan
Тема 7.4, 'group by' default ordering?
Дата
Msg-id 200401081942.i08JgXZG007236@gw.tssi.com
обсуждение исходный текст
Ответы Re: 7.4, 'group by' default ordering?  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
I notice that 7.4 doesn't do default ordering on a 'group by', so you have
to throw in an 'order by' clause to get the output in ascending group order.

Is this something that most RDB's have historically done (including PG prior
to 7.4) but isn't really part of the SQL standard?

On a mostly unrelated topic, does the SQL standard indicate whether NULL
should sort to the front or the back?  Is there a way to force it to
one or the other independent of whether the order by clause uses ascending or
descending order?
--
Mike Nolan

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

Предыдущее
От: Mike Nolan
Дата:
Сообщение: Re: order by is ambiguous
Следующее
От: Holger Marzen
Дата:
Сообщение: Re: Compile problem on old Debian Linux with glibc 2.0.7