Compare commits
No commits in common. "a397fd10168817e7153c25aac25f53f7a7c4a3f1" and "2d6364068e164bae6bc595c68e97ebf5c782d1d6" have entirely different histories.
a397fd1016
...
2d6364068e
1 changed files with 1 additions and 16 deletions
17
request.sql
17
request.sql
|
@ -1,7 +1,7 @@
|
|||
|
||||
-- | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
|
||||
-- --------+---+---+---+---+---+---+---+---+---+----+----+----+----+----+----+----+----+----+----+----+----+
|
||||
-- Axel | | | O | O | | | | | | | | O | O | | | | | | | 0 | |
|
||||
-- Axel | | | O | O | | | | | | | | O | O | | | | | | | | |
|
||||
-- --------+---+---+---+---+---+---+---+---+---+----+----+----+----+----+----+----+----+----+----+----+----+
|
||||
-- Ronan | | O | | | | O | | | | O | | | | | | x | | | | | |
|
||||
-- --------+---+---+---+---+---+---+---+---+---+----+----+----+----+----+----+----+----+----+----+----+----+
|
||||
|
@ -201,21 +201,6 @@ FROM Enseignant_chercheur
|
|||
GROUP BY idEtablissement
|
||||
HAVING count(Distinct idEnseignant) >= 50;
|
||||
|
||||
-- Axel Question 20 ecrite et testée
|
||||
|
||||
SELECT idScientifique, nb_proj FROM
|
||||
(SELECT idScientifique, COUNT(DISTINCT idProjet) AS nb_proj FROM Participe
|
||||
GROUP BY idScientifique) AS ScientPub
|
||||
|
||||
JOIN (SELECT MAX(nb_proj) AS nbmax FROM
|
||||
(SELECT idScientifique, COUNT(DISTINCT idProjet) AS nb_proj FROM Participe
|
||||
GROUP BY idScientifique) AS Scient) AS Sc
|
||||
ON Sc.nbmax = ScientPub.nb_proj;
|
||||
|
||||
--WHERE ScientPub.nb_publie_S = SC.nbmax ;
|
||||
|
||||
|
||||
|
||||
--Yasmine QUESTION 21 Testé
|
||||
|
||||
SELECT Distinct P.Pays
|
||||
|
|
Loading…
Reference in a new issue