Find the male friend of Alice whose job is a doctor?
select t2.friend from person as t1 join personfriend as t2 on t1.name = t2.friend where t2.name = 'Alice' and t1.gender = 'male' and t1.job = 'doctor'