
PENCA
PreguntaHola.
Tengo el siguiente error:
Error: ER_PARSE_ERROR: 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 ' `title` VARCHAR(100) NOT NULL, `year`INT UNSIGNED NOT NULL DEFAULT 19' at line 3
Y mi sentencia de mysql es:
CREATE TABLE `books` ( `book_id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `author`, `title` VARCHAR(100) NOT NULL, `year`INT UNSIGNED NOT NULL DEFAULT 1900, `language` VARCHAR(2) NOT NULL DEFAULT 'es' COMMENT 'ISO 639-1 Language', `cover_url` VARCHAR(500), `price` DOUBLE(6,2) NOT NULL DEFAULT 10.0, `sellable` TINYINT(1) DEFAULT 1, `copies` INT NOT NULL DEFAULT 1, `description` TEXT )
¿Alguien me podría explicar el porque de ese error?
Uso MariaDB como servidor de Mysql en Windows 10

Oscar Bolaños
No estoy seguro de que sea la falta del punto y coma pero tal vez no esta en el comando.