ครั้งสุดท้ายที่ผู้ป่วย 21003 มีระดับครีเอตินีนขั้นต่ำในปี 09/ปีนี้คือเท่าใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
what was the last time patient 21003 had the minimum level of creatinine in 09/this year?It is not neccessary to use all the tables.
 outputevents:  row_id [ number]  subject_id [ number]  hadm_id [ number]  icustay_id [ number]  charttime [ time]  itemid [ number]  value [ number] 
SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 21003) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'creatinine') AND DATETIME(labevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', labevents.charttime) = '09' ORDER BY labevents.valuenum, labevents.charttime DESC LIMIT 1