Slackbot
01/16/2024, 4:50 AMPhani Sai Chand Gali
01/16/2024, 4:56 AMTIME_IN_INTERVAL ?John Kowtko
01/16/2024, 1:40 PM(where) time_field between '2024-01-01' and '2024-01-02'
Traditionally the problem with BETWEEN clause is that it includes both endpoints ... possibly you could use that quirk to your advantage here?Mike Sherman
01/16/2024, 1:58 PM>= and <= explicitly might be more clear to someone looking at the query or maintaining it? Otherwise they have to go look up how between works... 🤠Sergio Ferragut
01/16/2024, 3:48 PMPhani Sai Chand Gali
01/16/2024, 4:08 PMTIME_IN_INTERVAL function.