1
I have a table in Mysql and am trying to group it by week(it may be week of year)
Select count(id),month(data_tarefa), year(data_tarefa) from tarefas group by mes, ano
So it works cool, but I would need to group by week, researched and did not find a function to return the week of the year, if anyone has any tips thank you.
have a look here http://www.w3resource.com/mysql/date-time-functions/mysql-week-function.php
– Silvio Andorinha
I tried that, but it didn’t seem to work for me, anyway thank you
– Daniel Lemes