我的SQL;您的SQL语法错误

时间:2018-11-12 08:45:16

标签: mysql

The table Book_Details is described here :-

This is the Category_Details Table :-

This is the Binding_Details Table :-

我不明白什么是语法错误?

2 个答案:

答案 0 :(得分:1)

请参考Mysql文档:https://dev.mysql.com/doc/refman/8.0/en/insert.html

您的插入查询的语法不正确。 您有insert into table SOMETABLE(column1, column2,...

这必须像insert into SOMETABLE (column1, column2...) VALUES (...

答案 1 :(得分:0)

请在插入查询中删除关键字TABLE。这样就可以了