1 2 3 4 5 6 7 8
| SELECT T_Adherents.Sexe,
Sum(IIf(calculage([Date_naissance],[forms]![formulaire]![champ])<=10,1,0)) AS Moins10,
Sum(IIf(calculage([Date_naissance],[forms]![formulaire]![champ]) Between 11 And 12,1,0)) AS Entre1112,
Sum(IIf(calculage([Date_naissance],[forms]![formulaire]![champ]) Between 13 And 15,1,0)) AS Entre1315,
Sum(IIf(calculage([Date_naissance],[forms]![formulaire]![champ]) Between 16 And 18,1,0)) AS Entre1618,
Sum(IIf(calculage([Date_naissance],[forms]![formulaire]![champ])>18,1,0)) AS Plus18
FROM T_Adherents
GROUP BY T_Adherents.Sexe; |
Partager