I would like to filter my data within a time interval but in consecutive days for a determined amount of days. I know I can achieve that using
select insert_datetime from table WHERE insert_datetime IN '2022-09-02T01:00:00;10m'
UNION ALL
select insert_datetime from table WHERE insert_datetime IN '2022-09-03T01:00:00;10m'
But is there another way to got the same result avoiding the UNION ALL
?