Enum for month names
mysql>
mysql> CREATE TABLE t
-> (
-> mon ENUM('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec')
-> );
Query OK, 0 rows affected (0.00 sec)
mysql>
mysql> SELECT mon FROM t ORDER BY mon;
Empty set (0.00 sec)
mysql>
mysql> SELECT mon FROM t ORDER BY CAST(mon AS CHAR);
Empty set (0.00 sec)
mysql>
mysql> drop table t;
Query OK, 0 rows affected (0.00 sec)
mysql>
mysql>
Related examples in the same category