Re: "Natural" Sort
Posted by:
Jay Pipes
Date: July 19, 2005 08:37PM
mysql> SELECT * FROM Kanwal ORDER BY LENGTH(name), name;
+---------+
| name |
+---------+
| AIYC 1 |
| AIYC 2 |
| AIYC 3 |
| AIYC 10 |
| AIYC 11 |
+---------+
5 rows in set (0.02 sec)
Jay Pipes
Community Relations Manager, North America, MySQL Inc.
Got Cluster?
http://www.mysql.com/cluster
Personal:
http://jpipes.com
Subject
Written By
Posted
Re: "Natural" Sort
July 19, 2005 08:37PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.