mysql> SELECT DATE_FORMAT('1997-10-04 22:23:00', '%b');
+------------------------------------------+
| DATE_FORMAT('1997-10-04 22:23:00', '%b') |
+------------------------------------------+
| Oct |
+------------------------------------------+
1 row in set (0.00 sec)
mysql>