yzm302462(提问者)select case when ROUND(TO_NUMBER(t.out_date - t.in_date) * 24 * 60) then \'是\'else \'否\'end as out_date
from t_dc_inhospital_info t where ROUND(TO_NUMBER(t.out_date - t.in_date) * 24 * 60)<30
尛鬼 回复 yzm302462(提问者)select case when ROUND(TO_NUMBER(t.out_date - t.in_date) * 24 * 60) <30then \'是\'else \'否\'end as out_date from t_dc_inhospital_info t where ROUND(TO_NUMBER(t.out_date - t.in_date) * 24 * 60)<30