Voici ma requête;

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
SELECT  E.idEmploye ,(SELECT COUNT(idProjet) FROM RessourcesProjet 
 Where E.idEmploye = idEmploye) AS nbrProjet From Employe E;
Le Resultat;
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
iDEmploye         nbrProjet                 
1212 	                 1                        
1876	                 2                        
2231                  2
4354 	                 1
Resultat Voulu;
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
iDEmploye         nbrProjet
 
1876	                 2                        
2231                  2