From: Herouth Maoz <herouth@oumail.openu.ac.il>
To: coronach@datacruz.com
To: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] desc and asc
Date: Wed, 3 Jun 1998 20:36:34 +0300
Message-ID: <l03110706b19b3932e525@[147.233.159.109]> (raw)
In-Reply-To: <3.0.5.32.19980603120845.007a5850@datacruz.com>
At 20:08 +0300 on 3/6/98, 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?
Sure:
testing=> SELECT engterm FROM glossary
testing-> WHERE dict=1 AND engterm IS NOT NULL
testing-> ORDER BY engterm ASC;
engterm
-------
Mafia
Stereo
change
geek
green
plasma
stam
(7 rows)
testing=> SELECT engterm FROM glossary
testing-> WHERE dict=1 AND engterm IS NOT NULL
testing-> ORDER BY engterm DESC;
engterm
-------
stam
plasma
green
geek
change
Stereo
Mafia
(7 rows)
Herouth
--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma
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: herouth@oumail.openu.ac.il, coronach@datacruz.com
Subject: Re: [SQL] desc and asc
In-Reply-To: <l03110706b19b3932e525@[147.233.159.109]>
References: <3.0.5.32.19980603120845.007a5850@datacruz.com> <l03110706b19b3932e525@[147.233.159.109]>
* 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