oracle取出当前年份的前几年或者后几年。
不用
select to_char(sysdate, 'yyyy') from dual
union all 
select to_char(add_months(sysdate, -12),'yyyy') 
from dual 
union all
select to_char(add_months(sysdate, +12),'yyyy')from dual
order by 1
不用这样的方法。