Reputation: 467
MySQL Version : mysql Ver 8.0.11 for macos10.13 on x86_64 (MySQL Community Server - GPL)
groups
table exists in the selected database as shown above.
Upvotes: 3
Views: 4090
Reputation: 43574
GROUPS
is a reserved word since MySQL 8.0.2. In this case you have to escape the table name with backticks. So you have to use the following INSERT INTO
command:
INSERT INTO `groups` (column_name) VALUES (column_value)
Upvotes: 6