เมื่อผู้ป่วย 8773 arterial bp [diastolic] วัดครั้งล่าสุดเมื่อวันที่ 19/12/2104? ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
when patient 8773 arterial bp [diastolic] last measured on 12/19/2104?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 = 8773)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [diastolic]' AND d_items.linksto = 'chartevents') AND STRFTIME('%y-%m-%d', chartevents.charttime) = '2104-12-19' ORDER BY chartevents.charttime DESC LIMIT 1