ครั้งสุดท้ายที่คนไข้ 033-17325 สั่งยาทางสายสวนจนถึงวันที่ 11/2105 คือเมื่อใด?ไม่จำเป็นต้องใช้ทุกตาราง
when was the last time that patient 033-17325 was prescribed a medicine via intra-cathet route until 11/2105?It is not neccessary to use all the tables.
 intakeoutput:  intakeoutputid [ number]  patientunitstayid [ number]  cellpath [ text]  celllabel [ text]  cellvaluenumeric [ number]  intakeoutputtime [ time] 
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 = '033-17325')) AND medication.routeadmin = 'intra-cathet' AND STRFTIME('%y-%m', medication.drugstarttime) <= '2105-11' ORDER BY medication.drugstarttime DESC LIMIT 1