reserved column names need to be escaped with a backtick

ADD
AND
BEFORE
BY
CALL
CASE
CONDITION
DELETE
DESC
DESCRIBE
FROM
GROUP
IN
INDEX
INSERT
INTERVAL
IS
KEY
LIKE
LIMIT
LONG
MATCH
NOT
OPTION
OR
ORDER
REFERENCES
SELECT
TABLE
TO
UPDATE
WHERE

To insert a god damn constraint

 PRIMARY KEY (`id`),
  KEY `instance_uuid` (`instance_uuid`),
  CONSTRAINT `instance_system_metadata_ibfk_1` FOREIGN KEY (`instance_uuid`) REFERENCES `instances` (`uuid`)
mysql> insert into instance_system_metadata (created_at, updated_at, deleted_at, instance_uuid, `key`, value, deleted) values (NOW(), default, default, (select uuid from instances where uuid = '0bd1a965-e401-46e7-b357-08fa2e324be9'), 'image_numa_nodes', '2', 0);