Hello;
About 6 months ago I had asked for assistance to help count the number of patients seen in an ER by hour. The query was:
SELECT Partition(DateDiff('n',TriageTime, InRoomTime)/60, 0, 10, 1) AS [WaitingTimeRange], Count(*) As [Patients] FROM Archive WHERE (TriageTime > #DateBegin#)...