From 76256523d06526be69a916483449fc8adf69f6d0 Mon Sep 17 00:00:00 2001 From: Olougouna Axel Date: Wed, 30 Nov 2022 16:43:20 +0100 Subject: [PATCH] hjbh --- personnel.sql | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/personnel.sql b/personnel.sql index 3554057..0989609 100644 --- a/personnel.sql +++ b/personnel.sql @@ -1,18 +1,21 @@ CREATE TABLE Personnel ( - idPersonnel int CONSTRAINT UnePersonne PRIMARY KEY, - nom char, - prenom char, - date_de_naissance date, - adress char, - date_de_recrutement date, + idPersonnel INT CONSTRAINT UnePersonne PRIMARY KEY, + nom CHAR, + prenom CHAR, + date_de_naissance DATE, + adress CHAR, + date_de_recrutement DATE, ); -CREATE Publie_Doctorant( - idPublication INT NOT NULL, - idDoctorant INT NOT NULL, - FOREIGN KEY (idPublication) REFERENCES Publication(idPublication), - FOREIGN KEY (idDoctorant) REFERENCES Doctorant(idDoctorant) +CREATE + + +CREATE TABLE Scientifique( + idScientique INT NOT NULL, + idPersonnel INT NOT NULL, + grade CHAR, + PRIMARY KEY(idPersonnel) ); CREATE TABLE Publie_Externe(