Q19 done and tested
This commit is contained in:
parent
8271e66ce4
commit
30982efc3b
2 changed files with 14 additions and 1 deletions
|
@ -363,6 +363,11 @@ INSERT INTO Projet(titre, acronyme, annee_debut, annee_fin, duree, budget_Laas,
|
||||||
-- --
|
-- --
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
|
INSERT INTO Participe VALUES (
|
||||||
|
1,
|
||||||
|
5
|
||||||
|
);
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
-- --
|
-- --
|
||||||
-- Preside --
|
-- Preside --
|
||||||
|
|
10
request.sql
10
request.sql
|
@ -136,7 +136,15 @@ GROUP BY pays
|
||||||
ORDER BY nb_publi DESC LIMIT 1;
|
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é
|
-- Yasmine QUESTION 19 Testé
|
||||||
|
|
Loading…
Reference in a new issue