日期:2014-05-16  浏览次数:20695 次

关于oracle的日期查询
求助:

   在oracle中怎样用sql语句查询出emp中三天前入职的员工信息。
------解决方案--------------------
select * from emp where rdate<sysdate-3
------解决方案--------------------
做计算时注意时分秒
select * from tab_name where date_col<trunc(sysdate)-2;