day=天
WEEK=周
MONTH=月
YEAR=年
更新数据
update 表名 set 字段名=” where now() >SUBDATE(时间字段,interval -1 MONTH);
查询数据
select * from 表名 where now() >SUBDATE(时间字段,interval -1 MONTH);
day=天
WEEK=周
MONTH=月
YEAR=年
更新数据
update 表名 set 字段名=” where now() >SUBDATE(时间字段,interval -1 MONTH);
查询数据
select * from 表名 where now() >SUBDATE(时间字段,interval -1 MONTH);