curd int 周末 date_sub mysql 查 查询 条件 interval
date_sub(curdate(), interval dayofweek(curdate())+6 day) 上周初date_sub(curdate(), interval dayofweek(curdate())-1 day) 上周末
mysql 查询上周数据的where条件
来源: http://www.bubuko.com/infodetail-2230672.html