I'm trying to create a table in MYSQL
:
CREATE TABLE 'narguile'.'Aluguel' ( 'idAluguel' INT(255) NOT NULL , 'produto' VARCHAR(255) NOT NULL , 'qntdeProduto' INT(255) NOT NULL , 'desconto' DOUBLE(255) NOT NULL , 'descricao' VARCHAR(255) NOT NULL , 'valordoAluguel' DOUBLE(255) NOT NULL ) ENGINE = InnoDB;
But it's showing me the following error:
1064 - You have a syntax error in your SQL next to ') NOT NULL,
descricao
VARCHAR (255) NOT NULL,valordoAluguel
DOUBLE (255) NO' on line 1