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