select subdate(curdate(),date_format(curdate(),'%w')-1)
select subdate(curdate(),date_format(curdate(),'%w')-7)
select subdate(curdate(),date_format(curdate(),'%w')-1)
select subdate(curdate(),date_format(curdate(),'%w')-7)
转载于:https://www.cnblogs.com/remember-forget/p/9335141.html