Re: MySQL and sorting
| From: | Miguel Cruz | Date: | Tue, 21 May 2002 04:01:24 +0000 |
| Subject: | Re: MySQL and sorting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98557@lists.php.net to get a copy of this message | ||
On Mon, 20 May 2002, Cleeker wrote:
> Is there a way to extract lets say a bunch of dates from a mysql db, and
> the sort them in order from newest to oldest? Also how would you sort
> names in alphabetical order?
Read the section of the MySQL manual that covers "ORDER BY" clauses.
miguel