Task: Text to Code
Input (English): Step 1: For each row in Stay table, find corresponding rows in Patient table and in Room table.
Step 2: find Name of the results of step 1 whose BlockFloor equals 111
Output (English): SELECT T1.Name FROM Patient AS T1 JOIN Room AS T2 JOIN Stay AS T3 ON T1.SSN = T3.Patient AND T3.Room = T2.RoomNumber WHERE T2.BlockFloor = 111