i dont understand what the syntax error is ?
Asked
Active
Viewed 86 times
-5
-
1`insert into
`... not `insert into table
– Salman A Nov 12 '18 at 08:47`.
-
And use single quotes for strings, not double quotes. – Matteo Tassinari Nov 12 '18 at 08:50
-
Possible duplicate of [When to use single quotes, double quotes, and back ticks in MySQL](https://stackoverflow.com/questions/11321491/when-to-use-single-quotes-double-quotes-and-back-ticks-in-mysql) – Madhur Bhaiya Nov 12 '18 at 08:55
2 Answers
1
Please refer to the Mysql documentation: https://dev.mysql.com/doc/refman/8.0/en/insert.html
The syntax of your insert query is incorrect.
You have insert into table SOMETABLE(column1, column2,...
This must be like insert into SOMETABLE (column1, column2...) VALUES (...

vrijdenker
- 1,371
- 1
- 12
- 25