|
Try grouping by both the year and month, as in
"group by YEAR(`fecha_actual`), MONTH(`fecha_actual`)"
And since you've already created aliases for the year and month, you can use those instead, as in
"group by Year, Month"
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
|