mysql select month as string code example Example: mysql month name extract SELECT MONTHNAME(column_date,’%m’)) as monthname from tablename;