Novice SQL user here, trying to update an existing database. I am trying to update everything at once with the following query
INSERT INTO `table` (`lots`, `of`, `keys`)
VALUES ('Row', '1', 'data'),
('Row', '2', 'data')
...
('Row', 'n', 'data');
This results in the syntax error
Syntax error near '' at line n+1
Which I'm not sure how to debug. I see one ten-year oldresult here that suggests that multi-line insertions don't work like this, but the syntax I copied from a csv-to-sql site for a snippet of the database suggests that the way I'm doing it should work.