whats patient 92642 first ward id until 3 years ago?
select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92642 ) and transfers.wardid is not null and datetime(transfers.intime) <= datetime(current_time,'-3 year') order by transfers.intime asc limit 1