I am trying to insert data using the following query
INSERT INTO events(
'_id',
'id',
'_kafka.topic',
'_kafka.partition',
'_kafka.offset',
'_kafka.timestamp',
'_kafka.key',
'_kafka.simulated',
'_kafka.consumed'
)
VALUES(
"{'$oid': '5daa639e4176a8d0301beb0c'}",
'0',
'Events_227_v3',
'2',
'22938980',
"{'$date': '2019-10-19T01:15:10.355Z'}",
"b'0'",
'False',
"{'$date': '2019-10-19T01:15:10.913Z'}"
)
Error message
`#1064 - 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 ''_id', 'id', '_kafka.topic', '_kafka.partition', '_kafka.offset', '_kafka.timest' at line 1
What is causing this error?
''. Instead use back ticks`