1.select * from [table] where [date]=to_date('2018-10-11','yyyy-mm-dd'); //查询2018.10.11日
2.hh24:mi:ss select * from [table] where [date]=to_date('2018-10-11 00:00:00','yyyy-mm-dd hh24:mi:ss'); //查询2018.10.11 00:00:00日
1.select * from [table] where [date]=to_date('2018-10-11','yyyy-mm-dd'); //查询2018.10.11日
2.hh24:mi:ss select * from [table] where [date]=to_date('2018-10-11 00:00:00','yyyy-mm-dd hh24:mi:ss'); //查询2018.10.11 00:00:00日