select * from 表 where 时间字段 >= to_date('2022-06-08 00:00:00','yyyy-MM-dd HH24:MI:SS') AND 时间字段<= to_date('2022-06-11 00:00:00','yyyy-MM-dd HH24:MI:SS');
select *
from 表
where create_time >= '2021-06-08 00:00:00'
select * from 表 where 时间字段 >= to_date('2022-06-08 00:00:00','yyyy-MM-dd HH24:MI:SS') AND 时间字段<= to_date('2022-06-11 00:00:00','yyyy-MM-dd HH24:MI:SS');
select *
from 表
where create_time >= '2021-06-08 00:00:00'