CREATE TABLE undergoes (patient VARCHAR(255), Stay VARCHAR(255)); CREATE TABLE stay (StayID VARCHAR(255), room VARCHAR(255)); CREATE TABLE patient (name VARCHAR(255), SSN VARCHAR(255))
Find the names of all patients who have an undergoing treatment and are staying in room 111.
    
SQL: 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