From: Jose' Soares Da Silva <sferac@bo.nettuno.it>
To: Mike Lemler <coronach@datacruz.com>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] desc and asc
Date: Thu, 4 Jun 1998 10:26:50 +0000 (UTC)
Message-ID: <Pine.LNX.3.96.980604102626.945E-100000@proxy.bazzanese.com> (raw)
In-Reply-To: <3.0.5.32.19980603120845.007a5850@datacruz.com>
On Wed, 3 Jun 1998, Mike Lemler wrote:
> The nifty little booklet I have that tells the the ANSI SQL92 standard for
> desc and asc seems not to work with order by. Could some one post an example?
>
> Thanks
hygea=> select * from prova order by testo asc;
testo
-----
ALFA
BETA
ZEBRA
ZETA
zebra
(5 rows)
hygea=> select * from prova order by testo desc;
testo
-----
zebra
ZETA
ZEBRA
BETA
ALFA
(5 rows)
Jose'
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: sferac@bo.nettuno.it, coronach@datacruz.com
Subject: Re: [SQL] desc and asc
In-Reply-To: <Pine.LNX.3.96.980604102626.945E-100000@proxy.bazzanese.com>
References: <3.0.5.32.19980603120845.007a5850@datacruz.com> <Pine.LNX.3.96.980604102626.945E-100000@proxy.bazzanese.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