Howto to force NULL rows at the bottom ?

Поиск
Список
Период
Сортировка
От Dirk Lutzebaeck
Тема Howto to force NULL rows at the bottom ?
Дата
Msg-id 14407.52293.774116.312846@ampato.aeccom.com
обсуждение исходный текст
Ответы Re: [SQL] Howto to force NULL rows at the bottom ?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: [SQL] Howto to force NULL rows at the bottom ?  (Stoyan Genov <genov@digsys.bg>)
Список pgsql-sql
Hi,

how can I force NULL rows at the bottom of the result list in an
ordered SELECT?

with ORDER BY I get

NULL
Peter
Jane

but I want

Peter
Jane
NULL

--
Dirk


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

Предыдущее
От: "Mitch Golden"
Дата:
Сообщение: Re: pgsql-sql-digest V1 #431
Следующее
От: jdibartolomeo@agency.com
Дата:
Сообщение: ...