SyntaxFix
Write A Post
Hire A Developer
Questions
I guess is MS SQL as it looks like MS SQL syntax.
So you should put in the group line the same thing as in select ex:
Select MONTH(date)+'-'+YEAR(date), .... ... ... ... group by MONTH(date)+'-'+YEAR(date)