$ 0 0 The most readable solution for me would probably be this:select cast( trim( extract( year from current_date ) ) || '-01-01' as DATE ) as first_day_of_year, cast( trim( extract( year from current_date ) ) || '-12-31' as DATE ) as last_day_of_year;
The most readable solution for me would probably be this:
select
cast( trim( extract( year from current_date ) ) || '-01-01' as DATE )
as first_day_of_year,
cast( trim( extract( year from current_date ) ) || '-12-31' as DATE )
as last_day_of_year;