刚学MySQL,想试着在表里添加新字段,结果不论怎么尝试都是ERROR 1064 (42000)....
<mysql> alert table emp add nickname varchar(20) comment'昵称';
然后尝试着去掉了注释内容,把关键字改掉,查到有人说不能用 '' 要用 ` 但是都不好使
ERROR 1064 (42000): 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 'alert table emp add nickname varchar(20) comment'昵称'' at line 1
b站教程是2022.1.18发的啊 mysql的手册语言改的这么快吗orz