i just started learning mysql. I created schema and added few things, here it is:
CREATE TABLE `twitter`.`tweets` (
`id` INT NOT NULL AUTO_INCREMENT,
`body` TEXT NOT NULL,
`created` DATE NOT NULL,
PRIMARY KEY (`id`),
UNIQUE INDEX `id_UNIQUE` (`id` ASC) VISIBLE)
ENGINE = InnoDB;
But when i apply i am getting this error
ERROR 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')
ENGINE = InnoDB' at line 6