เมื่อวันที่ 08/04/ปีที่แล้ว ความดันโลหิตหลอดเลือดแดงขั้นต่ำ [ซิสโตลิก] ของผู้ป่วย 29666 คือเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
on 08/04/last year', what was minimum arterial bp [systolic] of patient 29666?It is not neccessary to use all the tables.
 cost:  row_id [ number]  subject_id [ number]  hadm_id [ number]  event_type [ text]  event_id [ number]  chargetime [ time]  cost [ number] 
SELECT MIN(chartevents.valuenum) 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 = 29666)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [systolic]' AND d_items.linksto = 'chartevents') AND DATETIME(chartevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m-%d', chartevents.charttime) = '08-04'