select 目标列 from 表名 where 时间列=to_date('时间','yyyy-mm-dd hh24:mi:ss');
eq:
select name from tq where
a = to_date ('2001-03-05','yyyy-mm-dd')
and
b = to_date ('2001-03-15','yyyy-mm-dd');
//修改日期格式字段的值
update 修改的表名 set 修改的字段 = to_date('2019-07-01 19:56:54','YYYY-MM-DD HH24:MI:SS') where 查询的条件='';