บอกเปอร์เซ็นไทล์ของโซเดียมที่ 140.0 ในผู้ป่วยอายุเท่ากับผู้ป่วย 3125 ที่พบในโรงพยาบาลปัจจุบันหรือไม่ ไม่จำเป็นต้องใช้ตารางทั้งหมด
tell me the percentile for sodium of 140.0 among patients in the same age as patient 3125 on the current hospital encounter?It is not neccessary to use all the tables.
 transfers:  row_id [ number]  subject_id [ number]  hadm_id [ number]  icustay_id [ number]  eventtype [ text]  careunit [ text]  wardid [ number]  intime [ time]  outtime [ time] 
SELECT DISTINCT t1.c1 FROM (SELECT labevents.valuenum, PERCENT_RANK() OVER (ORDER BY labevents.valuenum) AS c1 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'sodium') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age = (SELECT admissions.age FROM admissions WHERE admissions.subject_id = 3125 AND admissions.dischtime IS NULL))) AS t1 WHERE t1.valuenum = 140.0