corrected syntax to enter specific values into table
This commit is contained in:
parent
c9f6320b41
commit
dc9b14f53a
1 changed files with 13 additions and 13 deletions
26
insert.sql
26
insert.sql
|
@ -5,7 +5,7 @@
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
-- Nathan
|
-- Nathan
|
||||||
INSERT nom, prenom, date_de_naissance, adress, date_de_recrutement INTO Personnel VALUES (
|
INSERT INTO Personnel(nom, prenom, date_de_naissance, adress, date_de_recrutement) VALUES (
|
||||||
'Billard',
|
'Billard',
|
||||||
'Nathan',
|
'Nathan',
|
||||||
DATE '2000-12-25',
|
DATE '2000-12-25',
|
||||||
|
@ -13,7 +13,7 @@ INSERT nom, prenom, date_de_naissance, adress, date_de_recrutement INTO Personne
|
||||||
DATE '2020-9-15'
|
DATE '2020-9-15'
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT nom, prenom, date_de_naissance, adress, date_de_recrutement INTO Personnel VALUES (
|
INSERT INTO Personnel(nom, prenom, date_de_naissance, adress, date_de_recrutement) VALUES (
|
||||||
'Bonnet',
|
'Bonnet',
|
||||||
'Ronan',
|
'Ronan',
|
||||||
DATE '2002-12-25',
|
DATE '2002-12-25',
|
||||||
|
@ -21,7 +21,7 @@ INSERT nom, prenom, date_de_naissance, adress, date_de_recrutement INTO Personne
|
||||||
'2020-9-15'
|
'2020-9-15'
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT nom, prenom, date_de_naissance, adress, date_de_recrutement INTO Personnel VALUES (
|
INSERT INTO Personnel(nom, prenom, date_de_naissance, adress, date_de_recrutement) VALUES (
|
||||||
'Olougouna',
|
'Olougouna',
|
||||||
'Axel',
|
'Axel',
|
||||||
DATE '2001-12-25',
|
DATE '2001-12-25',
|
||||||
|
@ -29,7 +29,7 @@ INSERT nom, prenom, date_de_naissance, adress, date_de_recrutement INTO Personne
|
||||||
'2020-9-15'
|
'2020-9-15'
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT nom, prenom, date_de_naissance, adress, date_de_recrutement INTO Personnel VALUES (
|
INSERT INTO Personnel(nom, prenom, date_de_naissance, adress, date_de_recrutement) VALUES (
|
||||||
'Grane',
|
'Grane',
|
||||||
'Yasmine',
|
'Yasmine',
|
||||||
DATE '2001-12-25',
|
DATE '2001-12-25',
|
||||||
|
@ -37,7 +37,7 @@ INSERT nom, prenom, date_de_naissance, adress, date_de_recrutement INTO Personne
|
||||||
'2020-9-15'
|
'2020-9-15'
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT nom, prenom, date_de_naissance, adress, date_de_recrutement INTO Personnel VALUES (
|
INSERT INTO Personnel(nom, prenom, date_de_naissance, adress, date_de_recrutement) VALUES (
|
||||||
'Wonderland',
|
'Wonderland',
|
||||||
'Alice',
|
'Alice',
|
||||||
DATE '1978-12-25',
|
DATE '1978-12-25',
|
||||||
|
@ -45,7 +45,7 @@ INSERT nom, prenom, date_de_naissance, adress, date_de_recrutement INTO Personne
|
||||||
'2020-9-15'
|
'2020-9-15'
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT nom, prenom, date_de_naissance, adress, date_de_recrutement INTO Personnel VALUES (
|
INSERT INTO Personnel(nom, prenom, date_de_naissance, adress, date_de_recrutement) VALUES (
|
||||||
'Le Bricoleur',
|
'Le Bricoleur',
|
||||||
'Bob',
|
'Bob',
|
||||||
DATE '1878-12-25',
|
DATE '1878-12-25',
|
||||||
|
@ -53,7 +53,7 @@ INSERT nom, prenom, date_de_naissance, adress, date_de_recrutement INTO Personne
|
||||||
'2020-9-15'
|
'2020-9-15'
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT nom, prenom, date_de_naissance, adress, date_de_recrutement INTO Personnel VALUES (
|
INSERT INTO Personnel(nom, prenom, date_de_naissance, adress, date_de_recrutement) VALUES (
|
||||||
'Romilly',
|
'Romilly',
|
||||||
'Étienne',
|
'Étienne',
|
||||||
DATE '1995-03-17',
|
DATE '1995-03-17',
|
||||||
|
@ -61,7 +61,7 @@ INSERT nom, prenom, date_de_naissance, adress, date_de_recrutement INTO Personne
|
||||||
DATE '2013-09-01'
|
DATE '2013-09-01'
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT nom, prenom, date_de_naissance, adress, date_de_recrutement INTO Personnel VALUES (
|
INSERT INTO Personnel(nom, prenom, date_de_naissance, adress, date_de_recrutement) VALUES (
|
||||||
'Jacques',
|
'Jacques',
|
||||||
'Léonne',
|
'Léonne',
|
||||||
DATE '2002-01-07',
|
DATE '2002-01-07',
|
||||||
|
@ -75,19 +75,19 @@ INSERT nom, prenom, date_de_naissance, adress, date_de_recrutement INTO Personne
|
||||||
-- --
|
-- --
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
INSERT idDoctorant, date_debut_these, date_soutenance INTO Doctorant VALUES (
|
INSERT INTO Doctorant(idDoctorant, date_debut_these, date_soutenance) VALUES (
|
||||||
1,
|
1,
|
||||||
DATE '2020-06-23',
|
DATE '2020-06-23',
|
||||||
DATE '2023-08-03'
|
DATE '2023-08-03'
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT idDoctorant, date_debut_these, date_soutenance INTO Doctorant VALUES (
|
INSERT INTO Doctorant(idDoctorant, date_debut_these, date_soutenance) VALUES (
|
||||||
3,
|
3,
|
||||||
DATE '2019-07-13',
|
DATE '2019-07-13',
|
||||||
DATE '2020-11-08'
|
DATE '2020-11-08'
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT idDoctorant, date_debut_these, date_soutenance INTO Doctorant VALUES (
|
INSERT INTO Doctorant(idDoctorant, date_debut_these, date_soutenance) VALUES (
|
||||||
4,
|
4,
|
||||||
DATE '2021-07-30',
|
DATE '2021-07-30',
|
||||||
DATE '2022-09-29'
|
DATE '2022-09-29'
|
||||||
|
@ -100,12 +100,12 @@ INSERT idDoctorant, date_debut_these, date_soutenance INTO Doctorant VALUES (
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
INSERT idScientifique, grade INTO Scientifique VALUES (
|
INSERT INTO Scientifique(idScientifique, grade) VALUES (
|
||||||
5,
|
5,
|
||||||
'cr1'
|
'cr1'
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT idScientifique, grade INTO Scientifique VALUES (
|
INSERT INTO Scientifique(idScientifique, grade) VALUES (
|
||||||
2,
|
2,
|
||||||
'mcf'
|
'mcf'
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue