Uzyskaj rok od daty postgres
SELECT EXTRACT(YEAR FROM column_date);
GutoTrosla
SELECT EXTRACT(YEAR FROM column_date);
select extract(year from your_column) from your_table;