ผู้ป่วย 52598 ได้รับการผ่าตัดเมื่อปีที่แล้วหรือไม่?ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
did patient 52598 undergo surgery the previous year?It is not neccessary to use all the tables.
 labevents:  row_id [ number]  subject_id [ number]  hadm_id [ number]  itemid [ number]  charttime [ time]  valuenum [ number]  valueuom [ text] 
SELECT COUNT(*) > 0 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 52598) AND DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')