เวลาออกสายสวนปัสสาวะครั้งแรกของผู้ป่วย 006-36108 ในเดือน/30 ที่แล้วคือเท่าไร? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is patient 006-36108's first urine catheter output time on last month/30?It is not neccessary to use all the tables.
 microlab:  microlabid [ number]  patientunitstayid [ number]  culturesite [ text]  organism [ text]  culturetakentime [ time] 
SELECT intakeoutput.intakeoutputtime FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-36108')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput.celllabel = 'urine catheter' AND DATETIME(intakeoutput.intakeoutputtime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month') AND STRFTIME('%d', intakeoutput.intakeoutputtime) = '30' ORDER BY intakeoutput.intakeoutputtime LIMIT 1