Merge branch 'master' of https://git.etud.insa-toulouse.fr/rbonnet/tp_bdd2
This commit is contained in:
commit
05d3e267ba
1 changed files with 14 additions and 14 deletions
|
@ -61,7 +61,7 @@ CREATE TABLE Etablissement(
|
|||
adresse VARCHAR,
|
||||
);
|
||||
|
||||
CREATE TABLE Enseignant_Chercheur
|
||||
|
||||
-- Nathan
|
||||
CREATE TABLE Evenement(
|
||||
idEvenement INT NOT NULL,
|
||||
|
@ -88,6 +88,12 @@ CREATE TABLE Labo_externe(
|
|||
);
|
||||
|
||||
-- Nathan
|
||||
CREATE TABLE Evenement(
|
||||
PRIMARY KEY(idEvenement),
|
||||
date_debut DATE,
|
||||
date_fin DATE,
|
||||
);
|
||||
|
||||
CREATE TABLE Journee_Porte_Ouvertes(
|
||||
idPorteOuverte INT NOT NULL,
|
||||
FOREIGN KEY (idPorteOuverte) REFERENCES Evenement(idEvenement),
|
||||
|
@ -105,7 +111,7 @@ CREATE TABLE Auteur_Externe (
|
|||
PRIMARY KEY (idAuteur)
|
||||
);
|
||||
|
||||
-- Nathan
|
||||
-- NathanCREATE TABLE Enseignant_Chercheuration INT NOT NULL,
|
||||
CREATE TABLE Publication(
|
||||
idPublication INT NOT NULL,
|
||||
titre VARCHAR,
|
||||
|
@ -126,9 +132,9 @@ CREATE TABLE Participe(
|
|||
);
|
||||
|
||||
-- Ronan
|
||||
CREATE TABLE Preside(
|
||||
idCongres INT NOT NULL,
|
||||
idScientifique INT NOT NULL,
|
||||
CREATE TABLE PreCREATE TABLE Enseignant_Chercheurside(
|
||||
e_fin DATE,
|
||||
);es( idScientifique INT NOT NULL,
|
||||
FOREIGN KEY (idCongres) REFERENCES Congres(idCongres),
|
||||
FOREIGN KEY (idScientifique) REFERENCES Scientifique(idScientifique),
|
||||
PRIMARY KEY (idCongres, idScientifique)
|
||||
|
@ -143,7 +149,7 @@ CREATE TABLE Publie_Scientifique(
|
|||
PRIMARY KEY (idPublication, idScientifique)
|
||||
);
|
||||
|
||||
-- Ronan
|
||||
-- RonanCREATE TABLE Enseignant_Chercheur
|
||||
CREATE TABLE Publie_Doctorant(
|
||||
idPublication INT NOT NULL,
|
||||
idDoctorant INT NOT NULL,
|
||||
|
@ -198,13 +204,6 @@ CREATE TABLE Encadrement (
|
|||
PRIMARY KEY(idScientifique,idDoctorant),
|
||||
);
|
||||
|
||||
--Yasmine
|
||||
CREATE TABLE Etablissement (
|
||||
nom char,
|
||||
acronyme char,
|
||||
adresse char,
|
||||
PRIMARY KEY(idEtablissement),
|
||||
);
|
||||
--Yasmine
|
||||
|
||||
CREATE TABLE Partenaire(
|
||||
|
@ -215,3 +214,4 @@ CREATE TABLE Partenaire(
|
|||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue