Compare commits

..

No commits in common. "50186989171059aaa2306191d0236b68664aac41" and "44575d8ab7b7e5957b2e7efe335b04b180879f7e" have entirely different histories.

2 changed files with 145 additions and 265 deletions

View file

@ -75,46 +75,21 @@ INSERT nom, prenom, date_de_naissance, adress, date_de_recrutement INTO Personne
-- --
----------------------------------------------------------------------
INSERT idDoctorant, date_debut_these, date_soutenance INTO Doctorant VALUES (
1,
INSERT date_debut_these, date_soutenance INTO Doctorant VALUES (
DATE '2020-06-23',
DATE '2023-08-03'
);
INSERT idDoctorant, date_debut_these, date_soutenance INTO Doctorant VALUES (
3,
INSERT date_debut_these, date_soutenance INTO Doctorant VALUES (
DATE '2019-07-13',
DATE '2020-11-08'
);
INSERT idDoctorant, date_debut_these, date_soutenance INTO Doctorant VALUES (
4,
INSERT date_debut_these, date_soutenance INTO Doctorant VALUES (
DATE '2021-07-30',
DATE '2022-09-29'
);
----------------------------------------------------------------------
-- --
-- Scientifique --
-- --
----------------------------------------------------------------------
INSERT idScientifique, grade INTO Scientifique VALUES (
3,
'cr1'
);
INSERT idScientifique, grade INTO Scientifique VALUES (
2,
'mcf'
);
----------------------------------------------------------------------
-- --
-- Etablissement --
-- --
----------------------------------------------------------------------
--Axel
INSERT INTO Etablissement VALUES (
@ -141,67 +116,39 @@ INSERT INTO Etablissement VALUES (
'Paris'
);
----------------------------------------------------------------------
-- --
-- Enseignant Chercheur --
-- --
----------------------------------------------------------------------
----------------------------------------------------------------------
-- --
-- Evenement --
-- --
----------------------------------------------------------------------
--Yasmine
INSERT INTO Evenement VALUES (
0001,INSERT INTO
DATE '2022-07-07',
DATE '2023-07-07'
--Axel
INSERT INTO Partenaire VALUES (
01,
'GFGH',
'Allemagne'
);
--Yasmine
INSERT INTO Evenement VALUES (
0002,
DATE '2022-01-07',
DATE '2023-07-12'
INSERT INTO Scientifique VALUES (
3,
'cr1'
);
--Yasmine
INSERT INTO Evenement VALUES (
0003,
DATE '2022-02-10',
DATE '2023-03-12'
INSERT INTO Scientifique VALUES (
2,
'mcf'
);
----------------------------------------------------------------------
-- --
-- Congres --
-- --
----------------------------------------------------------------------
----------------------------------------------------------------------
-- --
-- Labo externe --
-- --
----------------------------------------------------------------------
-- Ronan
INSERT INTO Labo_externe VALUES (
6,
'BRBN',
'Bresil'
);
INSERT INTO Labo_externe VALUES (
0,
'LAAS',
'France'
);
INSERT INTO Encadrement VALUES (
4,
2
);
INSERT INTO Encadrement VALUES (
2,
3
);
INSERT INTO Labo_externe VALUES (
1,
'CNES',
@ -232,18 +179,6 @@ INSERT INTO Labo_externe VALUES (
'Luxembourg'
);
----------------------------------------------------------------------
-- --
-- Journees porte ouvertes --
-- --
----------------------------------------------------------------------
----------------------------------------------------------------------
-- --
-- Auteurs externes --
-- --
----------------------------------------------------------------------
INSERT INTO Auteur_Externe VALUES (
0,
'John',
@ -276,12 +211,86 @@ INSERT INTO Auteur_Externe VALUES (
1
);
-- Ronan
INSERT INTO Labo_externe VALUES (
6,
'BRBN',
'Bresil'
);
----------------------------------------------------------------------
-- --
-- Publication --
-- --
----------------------------------------------------------------------
--Yasmine
INSERT INTO Projet VALUES(
01,
'BaseDeDonnee',
'BDD',
DATE '2022-12-07',
DATE '2022-01-07',
30,
1000,
500,
001
);
--Yasmine
INSERT INTO Projet VALUES (
02,
'langC',
'C',
DATE '2022-11-07',
DATE '2022-04-07',
40,
100,
60,
002
);
--Axel
INSERT INTO Partenaire VALUES (
01,
'GFGH',
'Allemagne'
);
--Axel
INSERT INTO Partenaire VALUES (
02,
'LMC',
'Australie'
);
--Axel
INSERT INTO Partenaire VALUES (
03,
'ESHT',
'USA'
);
--Axel
INSERT INTO Partenaire VALUES (
01,
'HLMY',
'Japon'
);
--Axel
INSERT INTO Partenaire VALUES (
01,
'MAKL',
'France'
);
--Yasmine
INSERT INTO Projet VALUES (
03,
'Programation web',
'ProgWeb',
DATE '2022-04-07',
DATE '2022-06-07',
80,
10000,
6000,
003
);
INSERT INTO Publication VALUES(
001,
@ -331,101 +340,6 @@ INSERT INTO Publication VALUES (
20
);
----------------------------------------------------------------------
-- --
-- Projet --
-- --
----------------------------------------------------------------------
--Yasmine
INSERT INTO Projet VALUES(
01,
'BaseDeDonnee',
'BDD',
DATE '2022-12-07',
DATE '2022-01-07',
30,
1000,
500,
001
);
--Yasmine
INSERT INTO Projet VALUES (
02,
'langC',
'C',
DATE '2022-11-07',
DATE '2022-04-07',
40,
100,
60,
002
);
--Yasmine
INSERT INTO Projet VALUES (
03,
'Programation web',
'ProgWeb',
DATE '2022-04-07',
DATE '2022-06-07',
80,
10000,
6000,
003
);
----------------------------------------------------------------------
-- --
-- Participe --
-- --
----------------------------------------------------------------------
----------------------------------------------------------------------
-- --
-- Preside --
-- --
----------------------------------------------------------------------
----------------------------------------------------------------------
-- --
-- Publie Scientifique --
-- --
----------------------------------------------------------------------
INSERT INTO Publie_Scientifique VALUES (
1,
3
);
INSERT INTO Publie_Scientifique VALUES (
2,
3
);
INSERT INTO Publie_Scientifique VALUES (
1,
2
);
INSERT INTO Publie_Scientifique VALUES (
4,
2
);
INSERT INTO Publie_Scientifique VALUES (
4,
3
);
----------------------------------------------------------------------
-- --
-- Publie Doctorant --
-- --
----------------------------------------------------------------------
INSERT INTO Publie_Doctorant VALUES (
1,
2
@ -441,12 +355,31 @@ INSERT INTO Publie_Doctorant VALUES (
4
);
INSERT INTO Publie_Scientifique VALUES (
1,
3
);
INSERT INTO Publie_Scientifique VALUES (
2,
3
);
INSERT INTO Publie_Scientifique VALUES (
1,
2
);
INSERT INTO Publie_Scientifique VALUES (
4,
2
);
INSERT INTO Publie_Scientifique VALUES (
4,
3
);
----------------------------------------------------------------------
-- --
-- Publie Externe --
-- --
----------------------------------------------------------------------
INSERT INTO Publie_Externe VALUES (
1,
@ -478,79 +411,26 @@ INSERT INTO Publie_Externe VALUES (
3
);
----------------------------------------------------------------------
-- --
-- Partenaire --
-- --
----------------------------------------------------------------------
--Axel
INSERT INTO Partenaire VALUES (
01,
'GFGH',
'Allemagne'
--Yasmine
INSERT INTO Evenememnt VALUES (
0001,INSERT INTO
DATE '2022-07-07',
DATE '2023-07-07'
);
--Axel
INSERT INTO Partenaire VALUES (
01,
'GFGH',
'Allemagne'
--Yasmine
INSERT INTO Evenememnt VALUES (
0002,
DATE '2022-01-07',
DATE '2023-07-12'
);
--Axel
INSERT INTO Partenaire VALUES (
02,
'LMC',
'Australie'
--Yasmine
INSERT INTO Evenememnt VALUES (
0003,
DATE '2022-02-10',
DATE '2023-03-12'
);
--Axel
INSERT INTO Partenaire VALUES (
03,
'ESHT',
'USA'
);
--Axel
INSERT INTO Partenaire VALUES (
01,
'HLMY',
'Japon'
);
--Axel
INSERT INTO Partenaire VALUES (
01,
'MAKL',
'France'
);
----------------------------------------------------------------------
-- --
-- Participe Externe --
-- --
----------------------------------------------------------------------
----------------------------------------------------------------------
-- --
-- Organise --
-- --
----------------------------------------------------------------------
----------------------------------------------------------------------
-- --
-- Encadrement --
-- --
----------------------------------------------------------------------
INSERT INTO Encadrement VALUES (
4,
2
);
INSERT INTO Encadrement VALUES (
2,
3
);

View file

@ -37,7 +37,7 @@ CREATE TABLE Personnel
--Axel
CREATE TABLE Doctorant(
idDoctorant INT NOT NULL,
idDoctorant SERIAL NOT NULL,
date_debut_these DATE,
date_soutenance DATE,
FOREIGN KEY (idDoctorant) REFERENCES Personnel(idPersonnel) ON DELETE CASCADE,