SELECT subdate(日期字段,DATE_FORMAT(日期字段, '%w') - 1) stat_date, DATE_FORMAT(`日期字段`, '%u') AS WEEK, sum(汇总字段1) money, SUM(汇总字段2) profit FROM 表名 WHERE DATE_FORMAT(日期字段, '%Y') = 2017 GROUP BY WEEK
^_^