如何在 VARCHAR 中插入带有空格的字符串?
insert into users (user_id,firstname,lastname,email,group) values('admin','some','Body','admin@something.com','Site admin');
这给了我语法错误,我是 mysql 新手,我浏览了 mysql 文档,但没有让我清楚地知道为什么会出现这种行为。
mysql> insert into users (user_id,firstname,lastname,email,group) values('admin','some','Body','admin@something.com','Site admin');
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 'group) values('admin','some','Body','admin@something.com','Site admin')' at line 1