/ / HeidiSql - sigue obteniendo el error 1064 - mysql, error de sintaxis, mysql-error-1064

HeidiSql - sigue recibiendo el error 1064 - mysql, error de sintaxis, mysql-error-1064

Sigo recibiendo el error que aparece en la siguiente imagen cuando intento crear una nueva tabla: enter image description here

Aquí está mi código:

CREATE TABLE SalesKicker {
id INT(6) UNSIGNED AUTO_INCREMENT,
PRIMARY KEY(id),
BedrijfsName VARCHAR(30) NOT NULL,
ContPers VARCHAR(30) NOT NULL,
TelNum INT(20),
Plaats VARCHAR(30),
Land VARCHAR(30),
PostCode VARCHAR(30),
GebrDat TIMESTAMP
}

¿Alguien puede decirme lo que estoy haciendo mal aquí?

Respuestas

0 para la respuesta № 1

Usa paréntesis, no llaves. Además, no olvide el punto y coma al final de su declaración y ponga sus declaraciones clave al final.

CREATE TABLE SalesKicker (
id INT(6) UNSIGNED AUTO_INCREMENT,
BedrijfsName VARCHAR(30) NOT NULL,
ContPers VARCHAR(30) NOT NULL,
TelNum INT(20),
Plaats VARCHAR(30),
Land VARCHAR(30),
PostCode VARCHAR(30),
GebrDat TIMESTAMP,
PRIMARY KEY(id)
);