น้ำหนักตัวเฉลี่ยต่อวันของผู้ป่วย 5364 ในปี 01/ปีนี้เป็นเท่าใด? ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was patient 5364's daily average value of body weight in 01/this year?It is not neccessary to use all the tables.
 diagnoses_icd:  row_id [ number]  subject_id [ number]  hadm_id [ number]  icd9_code [ text]  charttime [ time] 
SELECT AVG(chartevents.valuenum) FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 5364)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admit wt' AND d_items.linksto = 'chartevents') AND DATETIME(chartevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', chartevents.charttime) = '01' GROUP BY STRFTIME('%y-%m-%d', chartevents.charttime)