Skip site navigation (1) Skip section navigation (2)

Re: How do you compare (NULL) and (non-NULL)?

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Wei Weng <wweng(at)kencast(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: How do you compare (NULL) and (non-NULL)?
Date: 2004-10-29 17:57:54
Message-ID: 20041029175754.GB28827@wolff.to (view raw or flat)
Thread:
Lists: pgsql-sql
On Fri, Oct 29, 2004 at 11:59:15 -0400,
  Wei Weng <wweng(at)kencast(dot)com> wrote:
> 
> How do I write that?

SELECT Parent FROM Channels ORDER BY Parent IS NULL, Parent ASC;

In response to

pgsql-sql by date

Next:From: Murphy PopeDate: 2004-10-31 00:00:25
Subject: Re: ORDER BY and NULLs
Previous:From: Markus SchaberDate: 2004-10-29 17:46:49
Subject: Re: extra info - curious delay on view/where

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group