This is an accurate way of getting the first day of the week and the last day of the week based on the current date:
adddate(curdate(), INTERVAL 1-DAYOFWEEK(curdate()) DAY) WeekStart,
adddate(curdate(), INTERVAL 7-DAYOFWEEK(curdate()) DAY) WeekEnd
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…