Here's one that we use. Obviously, you can modify it quite a bit depending
on what you're wanting to do/see.
Josh
Select Username, Month=DateName(Month, CallDate),
Hours=Sum(convert (real, AcctSessionTime))/3600,
/* "Bytes Downloaded"=Sum(AcctOutputOctets),
"Bytes Uploaded"=Sum(AcctInputOctets), */
AccountType,
LoginLimit