Forum Moderators: open
Thanks
For example, to sort by type of animal in ascending order, then by birth date within animal type in descending order (youngest animals first), use the following query:mysql> SELECT name, species, birth FROM pet
-> ORDER BY species, birth DESC;