我想问当我输入天、月、年和每周的名称时如何设置日期。这是我的例子
case when description = 'weekly'
then weekly else
case when description = 'monthy'
then month else
case when description = 'year'
then year else
case when description = 'days'
then days else
entered
end &DATE_D