จำนวนความถ่วงจำเพาะสูงสุดของผู้ป่วย 85895 ต่อวันในเดือนที่แล้วคือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what is the daily maximum amount of specific gravity of patient 85895 the last month?It is not neccessary to use all the tables.
 procedures_icd:  row_id [ number]  subject_id [ number]  hadm_id [ number]  icd9_code [ text]  charttime [ time] 
SELECT MAX(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 85895) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'specific gravity') AND DATETIME(labevents.charttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month') GROUP BY STRFTIME('%y-%m-%d', labevents.charttime)