I'm trying to execute a simple MySQL query as below:
INSERT INTO user_details (username, location, key) VALUES ('Tim', 'Florida', 42)
But I'm getting the following error:
ERROR 1064 (42000): 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
'key) VALUES ('Tim', 'Florida', 42)'at line 1
How can I fix the issue?