giorgio rancati replied to NPell
20-Jan-10 12:21 PM
Hi NPell,
this is an Italian News Group.
anyway this query shows the result.
----
SELECT Field1,
SUM(Iif(Field2>500,1,0)) AS [Over500],
SUM(Iif(Field2 Between 100 AND 499,1,0)) AS [Over100],
SUM(Iif(Field2 Between 25 AND 99,1,0)) AS [Over25],
SUM(Iif(Field2<25,1,0)) AS [Under25]
FROM Table1
GROUP BY Field1
----
bye
--
Giorgio Rancati
[Office Access MVP]