I have data going into a table every minute, (I'm monitoring critical Boiler data at my facility. This data is being generated via a PLC.)
I have one field that is a running sum of 'Gas Usage'
I'm needing a query that will only show the last 'Gas Usage' data entry for any given day.
What makes this difficult is that today the last entry may be at 23:59:32 and tomorrow it could be 23:59:54. This is due to the triggering and time within the PLC Logic and DB.
Any help would be greatly appreciated,