ผู้ป่วย 25723 เข้าโรงพยาบาลครั้งสุดท้ายเมื่อ 3 ปีที่แล้วได้อย่างไร?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
how did patient 25723 last get admitted until 3 years ago to the hospital?It is not neccessary to use all the tables.
 admissions:  row_id [ number]  subject_id [ number]  hadm_id [ number]  admittime [ time]  dischtime [ time]  admission_type [ text]  admission_location [ text]  discharge_location [ text]  insurance [ text]  language [ text]  marital_status [ text]  ethnicity [ text]  age [ number] 
SELECT admissions.admission_type FROM admissions WHERE admissions.subject_id = 25723 AND DATETIME(admissions.admittime) <= DATETIME(CURRENT_TIME(), '-3 year') ORDER BY admissions.admittime DESC LIMIT 1