SELECT DISTINCT T2.name FROM undergoes AS T1 JOIN patient AS T2 ON T1.patient = T2.SSN JOIN stay AS T3 ON T1.Stay  =  T3.StayID WHERE T3.room  =  111
What are the names of patients who are staying in room 111 and have an undergoing treatment?
SELECT DISTINCT T2.name FROM undergoes AS T1 JOIN patient AS T2 ON T1.patient = T2.SSN JOIN stay AS T3 ON T1.Stay = T3.StayID WHERE T3.room = 111
select distinct t2 . name from undergoes as t1 join patient as t2 on t1 . patient = t2 . ssn join stay as t3 on t1 . stay = t3 . stayid where t3 . room = value
What are the names of patients who are staying in room 111 and have an undergoing treatment ?