oracle数据库是一款关系型数据库,在进行数据库日期和时间段内筛选时,可采用如下方法:
示例如下:
select * from temp where (time_point >= to_date('2024 - 01 - 20 16 :00 :00','yyyy-mm-dd hh24:mi:ss'))
and (time_point <= to_date('2024 - 01 - 20 23 :00 :00','yyyy-mm-dd hh24:mi:ss'))
oracle数据库是一款关系型数据库,在进行数据库日期和时间段内筛选时,可采用如下方法:
示例如下:
select * from temp where (time_point >= to_date('2024 - 01 - 20 16 :00 :00','yyyy-mm-dd hh24:mi:ss'))
and (time_point <= to_date('2024 - 01 - 20 23 :00 :00','yyyy-mm-dd hh24:mi:ss'))