Hi.
On Wed, Apr 18, 2001 at 04:17:45PM +0800, [EMAIL PROTECTED] wrote:
> Siggy...
>
> thanks for the past reply...
>
> but i i dont want to SORT the record in ASCENDING or DESCENDING order
> just a plain invert...
That doesn't make really sense. According to the SQL specification,
without ORDE
>Subject: inverse function (database,sql,query)
>
>
>hello anybody knows how to invert selected records?
>
>example :
>
>i have selected records :
>
> apple
> mangoe
> cherry
> avocado
>
>if i invert it :
>
> avocado
> cherry
> mangoe
> apple
Records do not have order unless you use ORDER
use the ORDER BY clause with the SELECT
SELECT * FROM table ORDERBY fieldname ASC
(or replace ASC with DESC for descending order)
Siggy
- Original Message -
From: "Michael M. Ocana" <[EMAIL PROTECTED]>
To: "Mysql Lists" <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 2:55 PM
Subjec