我将如何在sql aws athena 中添加30分钟
如果您可以提供实际的源值和数据类型,这将很容易理解。
我假设stamp
是日期-时间数据类型中的列名。只需使用stamp
列更新now()
:
select
substring( cast(date_add('minute', 30, now()) as varchar),12,5) as added_time,now()