标签:
1. 取周一
SELECT SUBDATE(DATE_SUB(‘20160801‘,INTERVAL 1 DAY),DATE_FORMAT(DATE_SUB(‘20160801‘,INTERVAL 1 DAY),‘%w‘)-1) FROM DUAL
MYSQL 日期处理汇总
原文地址:http://www.cnblogs.com/wanggs/p/5728262.html