I am using influx 2.7 v2 version with influx query. I have a scenario where I need to get min, max values of last 10 records. Query that I was using
select min(*) from "testapis" order by time desc limit 10; Shown as below

here are my last 10 records
select * from "testapis" order by time desc limit 10

Do we have a way to address this ? or is there a work around ?