ค่าใช้จ่ายรวมขั้นต่ำของโรงพยาบาลที่รวมการทดสอบในห้องปฏิบัติการควบคุมความดันจนถึงปี 2104 คือเท่าไร?ไม่จำเป็นต้องใช้ทุกโต๊ะ
what is the minimum total cost to the hospital that includes a pressure control lab test until 2104?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 MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT lab.patientunitstayid FROM lab WHERE lab.labname = 'pressure control')) AND STRFTIME('%y', cost.chargetime) <= '2104' GROUP BY cost.patienthealthsystemstayid) AS t1