fredElliotRules
Registered User.
- Local time
- Today, 15:52
- Joined
- Nov 3, 2006
- Messages
- 15
Hi,
I've generated the following SQL statement...
the [MYG] field is basically an integer 10,20,30,40,50 etc I wish to change this field to 10 - 20, 20 - 30, 30 - 40 etc.
Is this possible using SQL?
I've generated the following SQL statement...
Code:
SELECT (Int([age]/10)*10) AS MYG, Count([MYG]) AS Frequency
FROM Data
WHERE ((([Data].[Date of referal]) Between #1/1/2006# And #1/1/2007#) And (([Data].[Age])>10))
GROUP BY (Int([age]/10)*10);
the [MYG] field is basically an integer 10,20,30,40,50 etc I wish to change this field to 10 - 20, 20 - 30, 30 - 40 etc.
Is this possible using SQL?