create table t_temp ( infopubldate, enddate ) as select to_date(to_char(al.f_disclosure_date)||' 00:00:00','yyyy/mm/dd hh24:mi:ss') as infopubldate,
to_date((to_char(al.f_fiscal_year) || decode (substr(to_char(al.f_fiscal_quarter),-1,1), '1','0331', '3','0630', '5' ,'0930', '9','1231')) ,'yyyymmdd') as enddate from company.t_account_latest al