mysql:select date_sub(str_to_date('2018/8/21','%Y/%m/%d') ,interval 90 day) ;
oracle:select to_date('2018/8/21','yyyy/mm/dd') -90 from dual;