我想在下表中插入新行:MYSQL INSERT INTO語法錯誤
+-------------------+---------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------------+---------------------+------+-----+---------+-------+
| index | bigint(20) unsigned | NO | PRI | NULL | |
| exports_fields_id | bigint(20) unsigned | NO | PRI | NULL | |
| exports_id | bigint(20) unsigned | NO | MUL | NULL | |
+-------------------+---------------------+------+-----+---------+-------+
爲此我嘗試以下SQL語句:
INSERT INTO 'exports_has_export_fields' ('index', 'exports_fields_id', 'exports_id') VALUES (0, 78, 3);
但後來我得到以下錯誤:
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 ''exports_has_export_fields' ('index', 'exports_fields_id', 'exports_id') VALUES ' at line 1
使用'而不是'。 –