I am trying to create a query that gets only the year from selected dates. I.e. select ASOFDATE from PSASOFDATE; returns 11/15/2012, but I want only
select ASOFDATE from PSASOFDATE;
11/15/2012
SELECT date_column_name FROM table_name WHERE EXTRACT(YEAR FROM date_column_name) = 2020