บอกฉันหน่อยว่าค่ารักษาพยาบาลสูงสุดที่เกี่ยวข้องกับฟอสเฟตราคาเท่าไหร่?ไม่จำเป็นต้องใช้ทุกโต๊ะ
tell me the maximum hospital cost that involves phosphate how much does it cost?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 MAX(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 = 'phosphate')) GROUP BY cost.patienthealthsystemstayid) AS t1