ครั้งสุดท้ายที่ผู้ป่วย 015-7988 ได้รับการสั่งยาผ่านทางเยื่อเมือกจนกระทั่งเมื่อ 42 เดือนที่แล้ว?ไม่จำเป็นต้องใช้ทุกตาราง
when was the last time patient 015-7988 was prescribed a drug through mucous membrane route until 42 months ago?It is not neccessary to use all the tables.
 patient:  uniquepid [ text]  patienthealthsystemstayid [ number]  patientunitstayid [ number]  gender [ text]  age [ text]  ethnicity [ text]  hospitalid [ number]  wardid [ number]  admissionheight [ number]  admissionweight [ number]  dischargeweight [ number]  hospitaladmittime [ time]  hospitaladmitsource [ text]  unitadmittime [ time]  unitdischargetime [ time]  hospitaldischargetime [ time]  hospitaldischargestatus [ text] 
SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-7988')) AND medication.routeadmin = 'mucous membrane' AND DATETIME(medication.drugstarttime) <= DATETIME(CURRENT_TIME(), '-42 month') ORDER BY medication.drugstarttime DESC LIMIT 1