SELECT statistik.anlage, Format(Format([datum],"ww"),"00") AS KW, Count(statistik.datum) AS [Anzahl von datum] FROM statistik WHERE (((statistik.status)=1)) GROUP BY statistik.anlage, Format(Format([datum],"ww"),"00");