Wybierz rok z Dual Oracle
select to_char(sysdate, 'YYYY') from dual;
Blushing Baboon
select to_char(sysdate, 'YYYY') from dual;