If I have a MySQL query to summarize weekly totals, for example:
select sum(keyword1), sum(keyword2), sum(keyword3), dateTime from myTable group by week(dateTime) order by dateTime asc
I find that weeks start on Sunday.
Can I change it to Monday?
The dateTime column is in the format Timestamp MySQL 2011-09-26 12:34:32.
source share