根据生日计算年龄,记录一个
select floor(MONTHS_BETWEEN(sysdate,to_date('1990-4-21','yyyy-MM-dd'))/12) from dual;
select * from rlt_archive_sale as of timestamp to_Date('2013-04-05 15:28:00', 'yyyy-mm-dd hh24:mi:ss')
根据生日计算年龄,记录一个
select floor(MONTHS_BETWEEN(sysdate,to_date('1990-4-21','yyyy-MM-dd'))/12) from dual;
select * from rlt_archive_sale as of timestamp to_Date('2013-04-05 15:28:00', 'yyyy-mm-dd hh24:mi:ss')