Error to import mysql table in phpmyadmin

0

I'm having a problem importing a table into phpmyadmin.

Table:

CREATE TABLE ManterEmpresa ( 

  IdEmpresa INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,

  CNPJ INTEGER UNSIGNED NOT NULL,

  NomeEmpresa VARCHAR(45) NOT NULL,

  Logo VARCHAR(45) NOT NULL,

  Descricao VARCHAR(45) NOT NULL,

  Endereco VARCHAR(45) NOT NULL,

  Telefone VARCHAR(45) NOT NULL,

)
ENGINE = INNODB;

Error:

  

# 1064 - 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 ') ENGINE = INNODB' at line 9

How can I resolve this issue?

    
asked by anonymous 05.11.2015 / 15:28

1 answer

2

This line

Telefone VARCHAR(45) NOT NULL,

should be

Telefone VARCHAR(45) NOT NULL
    
05.11.2015 / 15:35