Falla que no encuentro al importar un archivo.sql Hola todos
Tengo una falla al importa un archivo.sql
Tengo los siguientes datos que me sacan el error.
CREATE TABLE claustro (
Fno char(3) not null,
Fnombre char(15) not null,
Fdomi char(20) not null,
Ffcanti date not null,
Fnumdep integer,
Fsueldo numeric not null,
Fdept char(4) not null,
PRIMARY KEY(Fno),
FOREIGN KEY(Fdept) REFERENCES departamento (Dept)
);
INSERT INTO claustro ('06', 'KATHY PEPE', 'CALLE LA PIEDRA 7', "1979-01-15", 2, 35000, 'PHIL');
INSERT INTO claustro ('10', 'JESSIE MARTIN', 'DR. DEL ESTE, 4', "1969-09-01", 2, 45000, 'THED');
INSERT INTO claustro ('08', 'JOSE COHN', 'AP CORREOS 1138', "1979-07-09", 2, 35000, 'CIS');
INSERT INTO claustro ('85', 'AL HARTLEY', 'CALLE DE LA PLATA', "1979-09-05", 7, 45000, 'CIS');
INSERT INTO claustro ('60', 'JULIA MARTIN', 'DR. DEL ESTE, 4', "1969-09-01", 1, 45000, 'PHIL');
INSERT INTO claustro ('65', 'LISA BOBAK', 'CAMILO RISA, 77', "1981-09-06", 0, 36000, 'THEO');
INSERT INTO claustro ('80', 'BARB HLAVATY', 'CALLE DEL SUR, 489', "1982-01-16", 3, 35000, 'CIS');
El error que me saca es el siguiente:
Error
consulta SQL:
INSERT INTO claustro( '06', 'KATHY PEPE', 'CALLE LA PIEDRA 7', "1979-01-15", 2, 35000, 'PHIL' ) ;
MySQL ha dicho:
#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 ''06', 'KATHY PEPE', 'CALLE LA PIEDRA 7', "1979-01-15", 2, 35000, 'PHIL')' at line 1
espero alguien me pueda decir que yo francamente no lo encuentro.
Gracias de ante mano. |