最佳答案:Sql中的时间函数TO_DAYS1.获取当天的数据:TO_DAYS(a.last_operation_date) = TO_DAYS(NOW())a.last_operation_date:数据库中存