มีการเปลี่ยนแปลงอะไรบ้างกับหลอดเลือดแดง bp [diastolic] ของผู้ป่วย 18877 วินาทีที่วัดในการนัดตรวจไอซียูครั้งสุดท้าย เปรียบเทียบกับค่าแรกที่วัดในการนัดตรวจไอซียูครั้งล่าสุด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what changes have been made to the arterial bp [diastolic] of patient 18877 second measured on the last icu visit compared to the first value measured on the last icu visit?It is not neccessary to use all the tables.
 d_labitems:  row_id [ number]  itemid [ number]  label [ text] 
SELECT (SELECT 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 = 18877) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime DESC LIMIT 1) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [diastolic]' AND d_items.linksto = 'chartevents') ORDER BY chartevents.charttime LIMIT 1 OFFSET 1) - (SELECT 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 = 18877) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime DESC LIMIT 1) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [diastolic]' AND d_items.linksto = 'chartevents') ORDER BY chartevents.charttime LIMIT 1)