date_add(date,interval expr type)

 类型(type)expr参数格式 说明
MICROSECOND  数值类型以微妙为计算单位 
SECOND数值类型以秒为计算单位
MINUTE 数值类型以分钟为计算单位 
HOUR 数值类型以小时为计算单位 
DAY 数值类型以天为计算单位 
WEEK 数值类型以周为计算单位 
MONTH 数值类型以月为计算单位 
QUARTER 数值类型 以季度为计算单位 
YEAR数值类型以年为计算单位
SECOND_MICROSECOND  字符串类型,格式为'SECOND-MICROSECOND或SECOND.MICROSECOND或SECOND/MICROSECOND' 
MINUTE_MICROSECOND字符串类型,格式为'MINUTE-MICROSECOND或MINUTE.MICROSECOND或MINUTE/MICROSECOND' 
MINUTE_SECOND字符串类型,格式为'MINUTEr-SECOND或MINUTE.SECOND或MINUTE/SECOND' 
HOUR_MICROSECOND字符串类型,格式为'HOUR-MICROSECOND或HOURMICROSECOND或HOUR/MICROSECOND' 
HOUR_SECOND字符串类型,格式为'HOUR-SECOND或HOUR.SECOND或HOUR/SECOND' 
HOUR_MINUTE字符串类型,格式为'HOURr-MINUTE或HOUR.MINUTE或HOUR/MINUTE' 
DAY_MICROSECOND字符串类型,格式为'DAY-MICROSECOND或DAY.MICROSECOND或DAY/MICROSECOND' 
DAY_SECOND字符串类型,格式为'DAY-SECOND或DAY.SECOND或DAY/SECOND' 
DAY_MINUTE字符串类型,格式为'DAY-MINUTE或DAY.MINUTE或DAY/MINUTE' 
DAY_HOUR字符串类型,格式为'DAY-HOUR或DAY.HOUR或DAY/HOUR' 
YEAR_MONTH字符串类型,格式为'YEAR-MONTH或YEAR.MONTH或YEAR/MONTH' 
05-11 18:30