1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| SELECT COUNTRY.NATIONALITY, COUNT(STUDENT.ID) EFFECTIF
FROM INSCRIPTION, STUDENT, YEAR, CLAS, CLASS_TYPE, ENTITIES,COUNTRY
WHERE INSCRIPTION.STUDENT_ID = STUDENT.ID
AND INSCRIPTION.YEAR_ID = YEAR.ID
AND YEAR.YEAR_CURRENT = 1
AND INSCRIPTION.CLAS_ID = CLAS.ID
AND INSCRIPTION.STATUS = 'V'
AND CLAS.YEAR_ID = YEAR.ID
AND STUDENT.CODE LIKE '2008%'
AND CLAS.CLASS_TYPE_ID = CLASS_TYPE.ID
AND CLAS.ENTITY_ID = ENTITIES.ID
AND ENTITIES.ID = 5
AND STUDENT.COUNTRY_CODE = COUNTRY.CODE
GROUP BY COUNTRY.NATIONALITY
ORDER BY COUNTRY.NATIONALITY |
Partager