How to quickly retrieve the latest sampling records? Currently, my approach is to use a query similar to the following:
select max(time) from dm.iot_sqt_agv_count where time > now() - interval '1 hour';
select * from dm.iot_sqt_agv_count where time = v_max_time;
How to use the last function in the README?