How do I change sort order behavious with nulls

Поиск
Список
Период
Сортировка
Искать
От
charlie clark
Тема
How do I change sort order behavious with nulls
Дата
Msg-id
opsmge1uvryt02yl@mail.isis.de
Список
Дерево обсуждения
How do I change sort order behavious with nulls charlie clark <charlie@begeistert.org>
Re: How do I change sort order behavious with nulls Tom Lane <tgl@sss.pgh.pa.us>
Re: How do I change sort order behavious with nulls Bruno Wolff III <bruno@wolff.to>
Re: How do I change sort order behavious with nulls charlie clark <charlie@begeistert.org>
Dear list,

is there a simple way to change the way ORDER BY works on columns with 
NULLs? I can understand the need for default behaviour but there must be 
cases when this is undesirable. I have such a query with the NULLs arising 
as the result of an OUTER JOIN and I would like to ORDER BY DESC with 
NULLs treated as <= 0. I've already tried a few things but nothing's 
working so far.

Thanx for any pointers.

Charlie

-- 
Charlie Clark
В списке pgsql-general по дате отправления
От: Bruno Wolff III
Дата:
Сообщение: Re: Group By and wildcards...
От: Daniel Verite
Дата:
Сообщение: Re: I'm newbie
FAQ