错误代码: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL ser

If this problem occurs, check the SQL statement: Are the spaces written correctly, are there fewer commas, and whether the distinguishing symbols are typed incorrectly?

I can remember my mistake for a lifetime

Insert picture description here
This problem occurred because the SQL statement was wrong, but I did not find it after searching for a long time. After my enlightenment, I found out that the symbol in the table name was mistyped. When the table name collided with the keyword, I used the "``" to distinguish, I typed the symbol Wrong number

The correct way to write is
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_46351306/article/details/114506140