select * from `t_exer_record_88` where DATE_SUB(CURDATE(), INTERVAL 7 DAY)<= date(update_time); select * from `t_exer_record_88` where DATE_SUB(CURDATE(), INTERVAL 1 MONTH )<= date(update_time); select * from `t_exer_record_88` where date(update_time) = curdate(); select * from `t_exer_record_88` where to_days(update_time )= to_days(now());
mysql 查询当天,一周,一月的查询语句
最新推荐文章于 2024-07-25 08:15:00 发布