จำนวน tpn ขั้นต่ำรายวันที่ผู้ป่วย 017-59454 ใช้ตั้งแต่ 2133 วันก่อนคือเท่าใด ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the daily minimum amount of tpn that patient 017-59454 took since 2133 days ago?It is not neccessary to use all the tables.
 vitalperiodic:  vitalperiodicid [ number]  patientunitstayid [ number]  temperature [ number]  sao2 [ number]  heartrate [ number]  respiration [ number]  systemicsystolic [ number]  systemicdiastolic [ number]  systemicmean [ number]  observationtime [ 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 = '017-59454')) AND intakeoutput.celllabel = 'tpn' AND intakeoutput.cellpath LIKE '%intake%' AND DATETIME(intakeoutput.intakeoutputtime) >= DATETIME(CURRENT_TIME(), '-2133 day') GROUP BY STRFTIME('%y-%m-%d', intakeoutput.intakeoutputtime)