ครั้งแรกที่ผู้ป่วย 12927 วัดความดันโลหิต [ซิสโตลิก] เมื่อวานนี้เป็นครั้งแรกเมื่อใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
when is the first time that patient 12927 has had a arterial bp [systolic] measured yesterday?It is not neccessary to use all the tables.
 microbiologyevents:  row_id [ number]  subject_id [ number]  hadm_id [ number]  charttime [ time]  spec_type_desc [ text]  org_name [ 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 = 12927)) 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 day') = DATETIME(CURRENT_TIME(), 'start of day', '-1 day') ORDER BY chartevents.charttime LIMIT 1