ผู้ป่วย 13536 มีค่าความดันโลหิตหลอดเลือดแดงสูงสุด [ซิสโตลิก] สูงสุดครั้งสุดท้ายจนถึงวันที่ 05/09/2105 หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
what time patient 13536 had last had the maximum arterial bp [systolic] value until 05/09/2105?It is not neccessary to use all the tables.
 labevents:  row_id [ number]  subject_id [ number]  hadm_id [ number]  itemid [ number]  charttime [ time]  valuenum [ number]  valueuom [ text] 
SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13536)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [systolic]' AND d_items.linksto = 'chartevents') AND STRFTIME('%y-%m-%d', chartevents.charttime) <= '2105-05-09' ORDER BY chartevents.valuenum DESC, chartevents.charttime DESC LIMIT 1