入院年龄按入院时间和出生日期进行计算
select * from pat_visit_v v
where floor(MONTHS_BETWEEN(v.visit_time,v.BIRTH_TIME)/12) <=26;
时间: 2024-10-05 23:10:01
入院年龄按入院时间和出生日期进行计算
select * from pat_visit_v v
where floor(MONTHS_BETWEEN(v.visit_time,v.BIRTH_TIME)/12) <=26;