ผู้ป่วย 002-58884 ได้ผลิตเอาต์พุต (มล.) -ท่ออก #1 กลางคันตั้งแต่ 07/2101 หรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
patient 002-58884 has produced output (ml)-chest tube #1 mid since 07/2101?It is not neccessary to use all the tables.
 cost:  costid [ number]  uniquepid [ text]  patienthealthsystemstayid [ number]  eventtype [ text]  eventid [ number]  chargetime [ time]  cost [ number] 
SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-58884')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput.celllabel = 'output (ml)-chest tube #1 mid' AND STRFTIME('%y-%m', intakeoutput.intakeoutputtime) >= '2101-07'