Task: Text to Code
Input (English): Step 1: For each row in mountain table, find the corresponding rows in photos table.
Step 2: find mountain's id, photos's name of the results of step 1
Output (English): SELECT T1.id , T2.name FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id