MySQL常用语句记录 kissthisrain Published on 2024-08-05 数据库 152 0~1 min 1、MySQL调整数据库中的时间字段的值-- 将operate_date的月份整体往后增加两个月 update your_table set operate_date = DATE_add(operate_date , INTERVAL 2 MONTH) where operate_date < '2023-10-20 00:00:00'