Oracle数据库查询一段时间内每天特定时间的数据

Oracle数据库查询一段时间内每天特定时间的数据 select * from 表名 where time betweento_date('2022-0
Oracle数据库查询一段时间内每天特定时间的数据
select * 
from 表名 
where time between
to_date('2022-01-01 00:00:00','YYYY-mm-dd hh24:mi:ss') and 
to_date('2022-02-28 23:59:59','YYYY-mm-dd hh24:mi:ss') and 
to_char(time,'hh24:mi:ss') between '00:00:00' and '00:59:59'

这样就能查询时间段内每天0点的所有数据。
路漫漫