Oracle emp表中工龄大于3年的员工人数,请写出查询语句 查询Oracle scott方案 emp表中工龄大于3年的员工人数,请写出查询语句 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select count(*) from scott.emp where (sysdate-hiredate)>3 --简单粗约的select count(*) from scott.emp where (sysdate-hiredate)/365.0>3 没那么麻烦month_between(hiredate,sysdate)/12 > 3 select count(*) from scott.emp where hiredate<add_months(sysdate,-36) select * from scott.emp where month_between(hiredate,sysdate)>=36; 请问RAC与OPS区别? 请教一个管事数据表空间上面的问题,谢谢 分组查询的问题 统计一月的次数在pl/sql语句里面 问题二则,急待解惑 在sqlplus里怎样显示一条sql语句的显示时间 win2000下和Oracle8.17下,SQLLDR能用,为什么在win98和Oracle8。05下不能使用。在线等待! 动态Cursor ORACLE817中的HTTP SERVER? 怎么样才能在节点上启动Intelligent Agent!各位大虾请帮帮忙! 设置帐户登陆次数的问题 我今天下午得到的结论和大家分享交流
select count(*) from scott.emp where (sysdate-hiredate)/365.0>3
month_between(hiredate,sysdate)/12 > 3