Hi all,
Hopefully an easy one for a Tuesday afternoon.
I have a large data set in a single table, using Site Name and Date/Time as the primary key. Data associated with it is listed as C1, C2, C3..., etc. Date/Time is recorded at roughly 4 minute intervals. There are approx 136,000 records per site, per year, times around 20 unique sites.
What I'd like to do is have a query to take the average of values in each 24 hour block starting at from 06:00, through to 06:00. I could make do with Calendar day, but 06:00 would be preferred.
It's a trivial problem I think, but mental block is stopping me figuring it out - and the last thing I want to do is to grind the data in Excel instead which seems totally unnecessary!
Don't think it matters too much, but for interest I'm Access 2003 as a client to Oracle 9 via ODBC to run my query.
Thanks in advance,
Dave
Hopefully an easy one for a Tuesday afternoon.
I have a large data set in a single table, using Site Name and Date/Time as the primary key. Data associated with it is listed as C1, C2, C3..., etc. Date/Time is recorded at roughly 4 minute intervals. There are approx 136,000 records per site, per year, times around 20 unique sites.
What I'd like to do is have a query to take the average of values in each 24 hour block starting at from 06:00, through to 06:00. I could make do with Calendar day, but 06:00 would be preferred.
It's a trivial problem I think, but mental block is stopping me figuring it out - and the last thing I want to do is to grind the data in Excel instead which seems totally unnecessary!
Don't think it matters too much, but for interest I'm Access 2003 as a client to Oracle 9 via ODBC to run my query.
Thanks in advance,
Dave