Merge branch 'master' of https://git.etud.insa-toulouse.fr/rbonnet/tp_bdd2
This commit is contained in:
commit
fbe1128906
1 changed files with 5 additions and 3 deletions
|
@ -187,13 +187,15 @@ CREATE TABLE Projet (
|
||||||
budget_Laas INT NOT NULL,
|
budget_Laas INT NOT NULL,
|
||||||
cout INT NOT NULL,
|
cout INT NOT NULL,
|
||||||
FOREIGN KEY (idScientifique) REFERENCES Scientifique(idScientifique),
|
FOREIGN KEY (idScientifique) REFERENCES Scientifique(idScientifique),
|
||||||
PRIMARY KEY(idProjet),
|
PRIMARY KEY(idProjet)
|
||||||
);
|
);
|
||||||
--Yasmine
|
--Yasmine
|
||||||
CREATE TABLE Encadrement (
|
CREATE TABLE Encadrement (
|
||||||
|
idDoctorant INT NOT NULL,
|
||||||
|
idScientifique INT NOT NULL,
|
||||||
FOREIGN KEY (idDoctorant) REFERENCES Doctorant(idDoctorant),
|
FOREIGN KEY (idDoctorant) REFERENCES Doctorant(idDoctorant),
|
||||||
FOREIGN KEY (idScientifique) REFERENCES Scientifique(idScientifique),
|
FOREIGN KEY (idScientifique) REFERENCES Scientifique(idScientifique),
|
||||||
PRIMARY KEY(idScientifique,idDoctorant),
|
PRIMARY KEY(idScientifique,idDoctorant)
|
||||||
);
|
);
|
||||||
|
|
||||||
--Yasmine
|
--Yasmine
|
||||||
|
@ -201,7 +203,7 @@ CREATE TABLE Encadrement (
|
||||||
CREATE TABLE Partenaire(
|
CREATE TABLE Partenaire(
|
||||||
PRIMARY KEY(idPartenaire),
|
PRIMARY KEY(idPartenaire),
|
||||||
nom char,
|
nom char,
|
||||||
pays char,
|
pays char
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue