xmeb
Technical User
- Jun 5, 2013
- 89
I cannot seem to get the following query to work. It runs but returns "0" as a result.
I would also like to add an additionl time period of 1700.
Thanks
Code:
SELECT Count(DataTable.StartTime) AS CountOfStartTime1500, Count(DataTable.StartTime) AS CountOfStartTime1600
FROM DataTable
WHERE ((Hour([StartTime])=15) AND (Hour([StartTime])=16));
I would also like to add an additionl time period of 1700.
Thanks