I have an database used in a small bookstore for sales/inventory. Punctuality was an issue, so I created a table that would time stamp when the database was opened and closed.
I have a table that has 2 columns, both are Date/Time fields like “9/18/2009 5:15:49 PM” where one is named “Started” and one is named “Ended”. If a row has a Started, it will have no Ended and vice versa.
I need to have a query that shows the earliest Started and the latest Ended for each day. (Did they arrive on time and did they leave early?)
Any suggestions?
Thanks!