At 11:27 PM +0100 9/14/01, Russ wrote:
>how do i sort my results by reverse order ?? say the collume containts 1 2 3
>4 , if i use ORDER BY VOTES it returnes 1234 but i wont it in revers 4321
>etc is there any way i can do this with a sql function?

ORDER BY VOTES DESC


DESC = descending (reverse)


http://www.mysql.com/doc/S/E/SELECT.html

http://www.mysql.com/doc/S/o/Sorting_rows.html

-- 
Paul DuBois, [EMAIL PROTECTED]

---------------------------------------------------------------------
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