Task: Text to Code
Input (English): Step 1: For each row in Ref_Locations table, find the corresponding rows in Document_Locations table.
Step 2: find Date_in_Locaton_To of the results of step 1 whose Location_Name equals Robin CV and Location_Name equals Brazil
Output (English): SELECT T2.Date_in_Locaton_To FROM Ref_Locations AS T1 JOIN Document_Locations AS T2 ON T1.Location_Code = T2.Location_Code WHERE T1.Location_Name = "Brazil" AND T1.Location_Name = "Robin CV"