大家有空帮忙写个mysql的语句
修改一个表的列名:
ALTER TABLE text RENAME COLUMN checkdata TO checkdate;
这个语句怎么会报错呢?
Error Code : 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'COLUMN checkdata TO checkdate' at line 1
(0 ms taken)