select split (cast ((current_date-cast(bd as date))/365 as varchar),' ')[1],bd from rpt_b;
转换前是bd,转换后是_col0