I oversee tutors and often need to quickly see if a tutor is available for a specific subject at a specific location, weekday, and time. I created a database that tracks all this information to be used for a printed report. This report should not show the tutor's names, just the tutoring specialty availability.
The query results in something like this:
LocationA Monday Algebra 8:00am 1:30pm
LocationA Monday Physics 12:00pm 4:30pm
etc.
This all works fine as long as the different tutors' time ranges overlap, but the minute they don't it all goes out the window since Min and Max aren't able to tell if there is a gap in time. If there is a gap in time, then I need the query/report to look more like this:
LocationA Monday Algebra 8:00am 10:00am
LocationA Monday Algebra 12:00pm 1:30pm
etc.
I played around a little bit with DMin and DMax, but it didn't seem to be the answer unless I'm not using them properly. I searched multiple forums and websites, but can't find a similar problem.
Any help or ideas would be appreciated.
Edit:
Added some table/query screenshots.