摘要: 方法一: SELECT TRUNC(months_between(sysdate, birth)/12) AS age from mytable 方法二: select TRUNC((to_char(sysdate, 'yyyyMMdd') - to_char(birth, 'yyyyMMdd')) 阅读全文
posted @ 2022-01-24 15:16 Samuel-Leung 阅读(4153) 评论(0) 推荐(0) 编辑