เอาต์พุตขั้นต่ำรายวัน (มล.) - ท่ออกด้านขวาของผู้ป่วย 015-59552 ในปี 12/ปีนี้คือเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the daily minimum of output (ml)-chest tube right lateral output of patient 015-59552 in 12/this year?It is not neccessary to use all the tables.
 microlab:  microlabid [ number]  patientunitstayid [ number]  culturesite [ text]  organism [ text]  culturetakentime [ time] 
SELECT MIN(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-59552')) AND intakeoutput.celllabel = 'output (ml)-chest tube right lateral' AND intakeoutput.cellpath LIKE '%output%' AND DATETIME(intakeoutput.intakeoutputtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', intakeoutput.intakeoutputtime) = '12' GROUP BY STRFTIME('%y-%m-%d', intakeoutput.intakeoutputtime)