Q19 done and tested

This commit is contained in:
nbillard 2022-12-10 15:26:36 +01:00
parent 8271e66ce4
commit 30982efc3b
2 changed files with 14 additions and 1 deletions

View file

@ -363,6 +363,11 @@ INSERT INTO Projet(titre, acronyme, annee_debut, annee_fin, duree, budget_Laas,
-- --
----------------------------------------------------------------------
INSERT INTO Participe VALUES (
1,
5
);
----------------------------------------------------------------------
-- --
-- Preside --

View file

@ -136,7 +136,15 @@ GROUP BY pays
ORDER BY nb_publi DESC LIMIT 1;
-- Nathan tested
SELECT * FROM Scientifique
WHERE idScientifique IN (
SELECT idScientifique FROM (
SELECT idScientifique, COUNT(DISTINCT idProjet) AS nbProjets FROM Participe
GROUP BY idScientifique
) AS Taux_Participation
WHERE nbProjets = 1
);
-- Yasmine QUESTION 19 Testé