in Vertica DB, I need to build a query selecting all rows with the timestamp within the past period of two hours from now. This doesn't work, however:
select * from device_health_1
where timeframe >= current_timestamp - interval 2 hour
NOW() doesn't seem to work, either.
Would appreciate suggestions.
Thanks!