cheryl27284
Technical User
I have a query where I want to return records with the month instead of the date. The records are listed by day. Here is the Query:
Select MONTH(row_date) as Mnth,sum(acwtime)/sum(acdcalls) as acw from dagent group by ???
I need to group by the month so I do not get every record but I keep getting a syntax error. If I group by row_date it gives me every day. This works in SQL Server but not in Informix. Can anyone help?
Select MONTH(row_date) as Mnth,sum(acwtime)/sum(acdcalls) as acw from dagent group by ???
I need to group by the month so I do not get every record but I keep getting a syntax error. If I group by row_date it gives me every day. This works in SQL Server but not in Informix. Can anyone help?