Select records by MAX(time) - 90 days
I have a sqlite3 database that has data downloaded from my diabetes meter. I download the data from the meter daily.
I now do a calculation on the database using every record in the database.
What I need to do is get a list from the database that comprises all the records that are from the last date that was appended minus 90 days to the last append record.
example: Select * from meter where time > last append time -90 days
Hope I made sense of what I need to do.
Thanks
Gary
Subject
Views
Written By
Posted
Select records by MAX(time) - 90 days
1258
December 21, 2018 06:25AM
615
December 25, 2018 05:33AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.