我正在尝试通过 mysql-shell 将一些数据放入 mysql,但它不起作用



当我在MySQL-shell中触发这个查询时,它会抛出一个错误。我不知道为什么会抛出错误。

INSERT INTO course_metadata_organization 
(partner, key, name) VALUES ('1', 'test', 'Norway');

错误:

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 'key, name)
VALUES ('1', 'test', 'Norway')' at line 1
INSERT INTO course_metadata_organization 
(`partner`, `key`, `name`) VALUES ('1', 'test', 'Norway');

use ' for列名

最新更新