bp ของหลอดเลือดแดง [diastolic] ของผู้ป่วย 27739 วัดครั้งแรกเมื่อวันที่ 23/11/2103 เมื่อใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
when was the arterial bp [diastolic] of patient 27739 first measured on 11/23/2103?It is not neccessary to use all the tables.
 diagnoses_icd:  row_id [ number]  subject_id [ number]  hadm_id [ number]  icd9_code [ text]  charttime [ time] 
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 = 27739)) 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) = '2103-11-23' ORDER BY chartevents.charttime LIMIT 1