Hmmm, you seem to have things a little backwards as ASCENDING should be the
default order.

However, as per the manual, the following will do it ....

SELECT * FROM tbl_name ORDER BY col_name ASC

To sort in the opposite order ....

SELECT * FROM tbl_name ORDER BY col_name DESC

Regards,

Greg


> -----Original Message-----
> From: Robert [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 17 January 2001 7:10
> To: [EMAIL PROTECTED]
> Subject: ORDER BY command
>
>
> Hello. I am trying to get the results from a query to be ORDERED by
> ASCENDING instead of the default DESCENDING. Is this possible, and if so
> how?
>
> Robert
>
>
> ---------------------------------------------------------------------
> 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


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