-- Query 29

SELECT
    serveur.numserveur AS 'numéro serveur',
    serveur.nomserveur AS 'nom serveur',
    COUNT(facture.numfacture) AS 'nb factures'
FROM serveur
LEFT OUTER JOIN facture ON facture.numserveur = serveur.numserveur
GROUP BY serveur.numserveur;

/* == RESULT ==
"Numéro Serveur","Nom Serveur","Nb factures"
50,"Durant Pierre",4
51,"Duchemin Paul",4
52,"Martin Cathy",12
53,"Pillot Alain",16
54,"Séré Alain",0
*/
