I believe your forgot the table you want to query.
select
case
when min(start_day_plan) is not NULL then min(start_day_plan)
else to_date((min(insertDate)) - cast('1 month' as interval),'yyyy-MM-dd' )
end
from MyTable
KLE
2009-10-01 08:34:11