mysql 日期和时间函数 mysql> SELECT something FROM tbl_name WHERE TO_DAYS(NOW()) – TO_DAYS(date_col) <= 30; DAYOFWE Mysql 2022-04-06 262 点赞 3 评论 396 浏览