Re: [SQL] desc and asc

jose' soares <sferac@bo.nettuno.it>

From: "Jose' Soares Da Silva" <sferac@bo.nettuno.it>
To: Mike Lemler <coronach@datacruz.com>
Cc: pgsql-sql@postgreSQL.org
Date: 1998-06-04T10:26:50Z
Lists: pgsql-sql
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'