Hi all, I have one question for you.

In SQL Server it's possible GROUP BY between interval dates ?

I tried this, but I have error.

Thanks in advance for your help.
Code:
SELECT 
	[DATE-E],
             [TYPE-V]
FROM
	dbo_40
WHERE
	1 = 1
AND [DATA-E] BETWEEN '2012-07-04'
AND '2012-07-31'
AND ([TYPE-V] = '5')
GROUP BY
	[DATE-E] BETWEEN '2012-07-04'
AND '2012-07-31,
[TYPE-V];