01 2023 档案

摘要:select extract (year from sysdate) year, extract (month from sysdate) month, extract (day from sysdate) day from dual; --注意:只能从一个data类型中截取年月日 阅读全文
posted @ 2023-01-31 14:57 Java猿道 阅读(47) 评论(0) 推荐(0)
摘要:trunc((to_char(sysdate, 'yyyyMMdd') - to_char(a.birth_date, 'yyyyMMdd')) / 10000) as age; 阅读全文
posted @ 2023-01-31 10:08 Java猿道 阅读(299) 评论(0) 推荐(0)