am new to using Athena so any help greatly appreciated.
When using the below in a query, receive “column 'sysdate' cannot be resolved. Worked with oracle sql but need some help what I need to use for sysdate in Athena.
Months_between (sysdate, inactivated_dt)<=12)
I suspect that you want:
where inactivated_dt >= current_date - interval '12' month
You can review the appropriate functions and operators in the documentation .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.