what was the last time that patient 54390 came into the hospital until 3 years ago?
select admissions.admittime from admissions where admissions.subject_id = 54390 and datetime(admissions.admittime) <= datetime(current_time,'-3 year') order by admissions.admittime desc limit 1