Compare commits
No commits in common. "b50863af37684e3a229f94672ad2540f73c19515" and "384b5619b9d984926df58bef443c157fac7d98f6" have entirely different histories.
b50863af37
...
384b5619b9
1 changed files with 4 additions and 6 deletions
10
request.sql
10
request.sql
|
|
@ -71,12 +71,10 @@ WHERE idPersonnel IN (
|
||||||
);
|
);
|
||||||
|
|
||||||
-- Ronan Q10
|
-- Ronan Q10
|
||||||
SELECT e.idDoctorant, nom, prenom, COUNT(*) FROM Encadrement e
|
SELECT idDoctorant, nom, prenom, COUNT(*) FROM Encadrement
|
||||||
JOIN Scientifique s ON e.idScientifique=s.idScientifique
|
JOIN Scientifique on idPersonnel=idScientifique
|
||||||
JOIN Doctorant d ON e.idDoctorant=d.idDoctorant
|
GROUP BY idDoctorant, nom, prenom
|
||||||
RIGHT JOIN Personnel p ON d.idDoctorant=p.idPersonnel
|
HAVING COUNT(DISTINCT idScientifique)=1;
|
||||||
GROUP BY e.idDoctorant, nom, prenom
|
|
||||||
HAVING COUNT(DISTINCT s.idScientifique)=1;
|
|
||||||
|
|
||||||
-- Ronan Q16
|
-- Ronan Q16
|
||||||
SELECT pays, COUNT(*) nb_publi
|
SELECT pays, COUNT(*) nb_publi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue