Received: from candle.pha.pa.us (root@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.9.3/8.9.3) with ESMTP id MAA06450 for ; Fri, 3 Dec 1999 12:31:36 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id MAA03972; Fri, 3 Dec 1999 12:28:04 -0500 (EST) From: Bruce Momjian Message-Id: <199912031728.MAA03972@candle.pha.pa.us> Subject: Re: [SQL] Howto to force NULL rows at the bottom ? In-Reply-To: <14407.52293.774116.312846@ampato.aeccom.com> from Dirk Lutzebaeck at "Dec 3, 1999 02:57:25 pm" To: Dirk Lutzebaeck Date: Fri, 3 Dec 1999 12:28:04 -0500 (EST) CC: pgsql-sql@postgreSQL.org X-Mailer: ELM [version 2.4ME+ PL65 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, Pennsylvania 19026