ผู้ป่วย 8016 ได้รับการทดสอบโปรตีนรวม, เยื่อหุ้มปอดตั้งแต่ 14 เดือนที่แล้วหรือไม่?ไม่จำเป็นต้องใช้ตารางทั้งหมด
had patient 8016 been tested on total protein, pleural since 14 months ago?It is not neccessary to use all the tables.
 icustays:  row_id [ number]  subject_id [ number]  hadm_id [ number]  icustay_id [ number]  first_careunit [ text]  last_careunit [ text]  first_wardid [ number]  last_wardid [ number]  intime [ time]  outtime [ time] 
SELECT COUNT(*) > 0 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'total protein, pleural') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 8016) AND DATETIME(labevents.charttime) >= DATETIME(CURRENT_TIME(), '-14 month')