since 5 months ago, patient 3277 had received any medicine?
select count(*)>0 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3277 ) and datetime(prescriptions.startdate) >= datetime(current_time,'-5 month')