Compare commits

..

No commits in common. "b50863af37684e3a229f94672ad2540f73c19515" and "384b5619b9d984926df58bef443c157fac7d98f6" have entirely different histories.

View file

@ -71,12 +71,10 @@ WHERE idPersonnel IN (
);
-- Ronan Q10
SELECT e.idDoctorant, nom, prenom, COUNT(*) FROM Encadrement e
JOIN Scientifique s ON e.idScientifique=s.idScientifique
JOIN Doctorant d ON e.idDoctorant=d.idDoctorant
RIGHT JOIN Personnel p ON d.idDoctorant=p.idPersonnel
GROUP BY e.idDoctorant, nom, prenom
HAVING COUNT(DISTINCT s.idScientifique)=1;
SELECT idDoctorant, nom, prenom, COUNT(*) FROM Encadrement
JOIN Scientifique on idPersonnel=idScientifique
GROUP BY idDoctorant, nom, prenom
HAVING COUNT(DISTINCT idScientifique)=1;
-- Ronan Q16
SELECT pays, COUNT(*) nb_publi