Siggy...

thanks for the past reply...

but i i dont want to SORT the record in ASCENDING or DESCENDING order
just a plain invert...

thanks...

--------------------------


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
Subject: inverse function


> 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
>
>
> how can i do this? in DBI? or in my SELECT statement?
>
> thanks

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to