I have table Session (ID, StartTime, EndTime, Date)
How do I query this data to show a count during certain times?
For example:
StartTime Between Count
8:00-8:59 2
9:00-9:59 3
10:00-10:59 0
I want to do the same for days of the week (M, T, W, etc.)
Sorry if this has been asked before but I can't find an answer that gives me exactly what I want.
this seems to be close to what I need, but I am not thrilled by the suggestion of creating dummy tables for Start and End
Thanks in advance for the help!
How do I query this data to show a count during certain times?
For example:
StartTime Between Count
8:00-8:59 2
9:00-9:59 3
10:00-10:59 0
I want to do the same for days of the week (M, T, W, etc.)
Sorry if this has been asked before but I can't find an answer that gives me exactly what I want.
this seems to be close to what I need, but I am not thrilled by the suggestion of creating dummy tables for Start and End
Thanks in advance for the help!
Comment