!!!怎么获得系统日期的年份,再将它减去表示日期的字段,得到年龄?!!! select to_number(to_char(sysdate,'YYYY'))-to_number(to_char(BIRTHDAY,'YYYY')) age from dual; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select months_between(sysdate,birthday)/12 from employ where nameid_m_nameid; select to_char(sysdate,'yyyy')-to_char(birthday,'yyyy') from employ where ...;用除法最好而且准确:select months_between(sysdate,birthday)/12 from employ where...; oracle精简客户端会改变什么? ORACLE导出EXCEL 日期格式接值 求解释 oracle pl/sql 存储过程 想请问这个出错的原因 linux32位能不能安装oracle64位的版本? 如何在9I的环境下备份8。1。5的数据库?在线等 求救:date类型的数据格式是什么? sql,查询一个月内数据的总量 求教一个sql语句 dict 是哪个用户的... SQL语法问题
select months_between(sysdate,birthday)/12 from employ where...;