List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:September 14 2001 10:35pm
Subject:Re: mySQL: ORDER
View as plain text  
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, paul@stripped
Thread
mySQL: ORDERRuss15 Sep
  • Re: mySQL: ORDERDan Nelson15 Sep
  • Re: mySQL: ORDERPaul DuBois15 Sep
  • Re: mySQL: ORDERDana Powers15 Sep