From: Terry Yapt <pgsql@technovell.com>
To: pgsql-sql@postgresql.org
Subject: COALESCE in ORDER BY...
Date: Sat, 17 May 2003 18:40:01 +0200
Message-ID: <1053189601.81a4c98pgsql@technovell.com> (raw)
Why this doesn't run on postrgreSQL 7.3.1 ?
www=> SELECT 10 AS first ORDER BY first DESC;
first
-------
10
(1 row)
www=> SELECT 10 AS first ORDER BY COALESCE(first,0) DESC;
ERROR: Attribute "first" not found
Thanks in advance..
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: pgsql@technovell.com
Subject: Re: COALESCE in ORDER BY...
In-Reply-To: <1053189601.81a4c98pgsql@technovell.com>
* 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