instruction: what's the total amount of output that patient 18457 has had on 10/04/2102?
response: SELECT SUM(outputevents.value) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 18457)) AND STRFTIME('%y-%m-%d', outputevents.charttime) = '2102-10-04'