Re: [SQL] Howto to force NULL rows at the bottom ?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [SQL] Howto to force NULL rows at the bottom ?
Дата
Msg-id 199912031728.MAA03972@candle.pha.pa.us
обсуждение исходный текст
Ответ на Howto to force NULL rows at the bottom ?  (Dirk Lutzebaeck <lutzeb@aeccom.com>)
Список pgsql-sql
No way to do this currently, but it is on our TODO list.

> 
> 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
> 
> ************
> 
> 


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Mario Jorge Nunes Filipe
Дата:
Сообщение: Re: [SQL] Wierd stuff
Следующее
От:
Дата:
Сообщение: Re: Datetime operators (was: Re: [SQL] Another Date question)