胡萝卜J

导航

 

2024年5月15日

摘要: 前提: 需要查询数据库表中的某个datetime类型的字段加22天后在某个时间范围内的数据 需要使用函数 date_add(字段名,interval 22 day) 例如: select * from 表名 where DATE_ADD(expenditure_completion_time,int 阅读全文
posted @ 2024-05-15 15:11 胡萝卜J 阅读(2) 评论(0) 推荐(0) 编辑