Task: Text to Code
Input (English): Step 1: For each row in Type_Of_Restaurant table, find corresponding rows in Restaurant table and in Restaurant_Type table.
Step 2: find Address of the results of step 1 whose ResTypeName equals Subway
Output (English): SELECT T1.Address FROM Restaurant AS T1 JOIN Type_Of_Restaurant AS T2 ON T1.ResID = T2.ResID JOIN Restaurant_Type AS T3 ON T2.ResTypeID = T3.ResTypeID WHERE T3.ResTypeName = "Subway"