try to merge
This commit is contained in:
commit
2a21004c55
1 changed files with 12 additions and 4 deletions
|
@ -2,10 +2,10 @@
|
||||||
CREATE TABLE Personnel
|
CREATE TABLE Personnel
|
||||||
(
|
(
|
||||||
idPersonnel INT CONSTRAINT UnePersonne PRIMARY KEY,
|
idPersonnel INT CONSTRAINT UnePersonne PRIMARY KEY,
|
||||||
nom CHAR,
|
nom VARCHAR,
|
||||||
prenom CHAR,
|
prenom VARCHAR,
|
||||||
date_de_naissance DATE,
|
date_de_naissance DATE,
|
||||||
adress CHAR,
|
adress VARCHAR,
|
||||||
date_de_recrutement DATE,
|
date_de_recrutement DATE,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ CREATE TABLE Personnel
|
||||||
CREATE TABLE Scientifique(
|
CREATE TABLE Scientifique(
|
||||||
idScientique INT NOT NULL,
|
idScientique INT NOT NULL,
|
||||||
idPersonnel INT NOT NULL,
|
idPersonnel INT NOT NULL,
|
||||||
grade CHAR,
|
grade VARCHAR,
|
||||||
PRIMARY KEY(idPersonnel)
|
PRIMARY KEY(idPersonnel)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -26,6 +26,14 @@ CREATE Auteur_Externe (
|
||||||
idLabo INT NOT NULL,
|
idLabo INT NOT NULL,
|
||||||
FOREIGN KEY (idLabo) REFERENCES LaboExterne(idLabo),
|
FOREIGN KEY (idLabo) REFERENCES LaboExterne(idLabo),
|
||||||
PRIMARY KEY (idAuteur)
|
PRIMARY KEY (idAuteur)
|
||||||
|
|
||||||
|
);
|
||||||
|
|
||||||
|
CREATE Labo_externe(
|
||||||
|
idLabo INT NOT NULL,
|
||||||
|
nom VARCHAR,
|
||||||
|
pays VARCHAR,
|
||||||
|
PRIMARY KEY(idLabo)
|
||||||
);
|
);
|
||||||
|
|
||||||
-- Nathan
|
-- Nathan
|
||||||
|
|
Loading…
Reference in a new issue