I looked on the page. Here what I want to do;
The table already has data. So I want to move column to another position without loosing data.
The table:
mysql> desc album;
+-------------+-----------+------+-----+------------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+-----------+------+-----+------------+----------------+
| id | int(10) | | PRI | NULL | auto_increment |
| title | char(40) | YES | | NULL | |
| description | char(100) | YES | | NULL | |
| date | date | YES | | 0000-00-00 | |
+-------------+-----------+------+-----+------------+----------------+
But when I try to do that I get the error message. I don't know if the problem related to the Server version: 3.23.58
mysql> alter table album modify column date after title;
ERROR 1064: You have an error in your SQL syntax near 'after title' at line 1