Trying to follow along this example: Insert into a MySQL table or update if exists
I made this query, but I keep getting:
Incorrect syntax near the keyword 'ON'.
What's wrong with this query?
INSERT INTO us_TEST (cell, [date], valueFlag, [value])
VALUES ('USW00024061', '2018-01-01', 'XXX', 299)
ON DUPLICATE KEY
UPDATE [value] = 299