select 目标列 from 表名 where 时间列=to_date('时间','yyyy-mm-dd hh24:mi:ss');
比如
select name from birth_info where
birthday between to_date ('2001-03-05','yyyy-mm-dd')
and
to_date ('2001-03-15','yyyy-mm-dd');
oracle数据库使用时间作为查询条件时的写法
最新推荐文章于 2024-08-28 15:21:14 发布