From: Tomasz Myrta <jasiek@klaster.net>
To: Fredrik Wendt <fredrik@csbnet.se>
Cc: pgsql-sql@postgresql.org
Subject: Re: ORDER BY TIMESTAMP_column ASC, NULL first
Date: Sun, 15 Feb 2004 21:11:21 +0100
Message-ID: <402FD269.3030102@klaster.net> (raw)
In-Reply-To: <20040212100626.GA21864@csbnet.se>
References: <20040212100626.GA21864@csbnet.se>
Dnia 2004-02-12 11:06, Użytkownik Fredrik Wendt napisał:
> Hi!
>
> I read posts telling me that NULL values are considered greater than
> non-null values. Fine. Is there a way to explicitly reverse this?
Sure, choose combination you need:
order by some_value is null asc/desc, some_value asc/desc
Regards,
Tomasz Myrta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: jasiek@klaster.net, fredrik@csbnet.se
Subject: Re: ORDER BY TIMESTAMP_column ASC, NULL first
In-Reply-To: <402FD269.3030102@klaster.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox