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