发布于2020年4月14日 由txlMySQL 查询当天数据 select * from 表名 where to_days(时间字段名) = to_days(now()); to_days 函数,返回天数