data_time字段的时间格式如下:
select * from test1 t where t.data_time between to_date('2018/8/3 00:00:00','yyyy/mm/dd hh24:mi:ss') and to_date('2018/8/11 15:46:39','yyyy/mm/dd hh24:mi:ss') --取2018年8月11日0点到15:46:39的数据
data_time字段的时间格式如下:
select * from test1 t where t.data_time between to_date('2018/8/3 00:00:00','yyyy/mm/dd hh24:mi:ss') and to_date('2018/8/11 15:46:39','yyyy/mm/dd hh24:mi:ss') --取2018年8月11日0点到15:46:39的数据