ปีนี้ผู้ป่วย 51497 มาโรงพยาบาลหรือไม่ ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
does patient 51497 come to the hospital during this year?It is not neccessary to use all the tables.
 prescriptions:  row_id [ number]  subject_id [ number]  hadm_id [ number]  startdate [ time]  enddate [ time]  drug [ text]  dose_val_rx [ text]  dose_unit_rx [ text]  route [ text] 
SELECT COUNT(*) > 0 FROM admissions WHERE admissions.subject_id = 51497 AND DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')