I have an MS Access database table that populates every minute, and I need to write a query to select the data at the start of every hour. Does anyone how I would go about writing such a query?
BOF_TOTAL EAF_TOTAL EAF BOF TO_CHAR(DATETIME,'MM/DD/YYYYHH24:MI:SS')
.
.
.
.
315499 38756 5.6 12 7/1/2011 16:00
315511 38762 5.6 12 7/1/2011 16:01
315523 38771 5.6 12 7/1/2011 16:02
315535 38779 8.4 12 7/1/2011 16:03
315547 38787 8.4 12 7/1/2011 16:04
315559 38787 8.4 12 7/1/2011 16:05
315571 38797 8.4 12 7/1/2011 16:06
315583 38805 8.4 12 7/1/2011 16:07
.
.
.
316219 39596 6.7 12 7/1/2011 17:00
.
.
.
316939 40436 6.9 12 7/1/2011 18:00
I would like a query that will that grab only the data at 16:00, 17:00, 18:00, etc.
So the output of the query is:
315499 38756 5.6 12 7/1/2011 16:00
316219 39596 6.7 12 7/1/2011 17:00
316939 40436 6.9 12 7/1/2011 18:00
I hope that this helps to better clarify my question.