Task: Text to Code
Input (English): Step 1: For each row in airports table, find the corresponding rows in routes table.
Step 2: find rid, dst_ap of the results of step 1 whose country equals United States
Output (English): SELECT T1.rid , T1.dst_ap FROM routes AS T1 JOIN airports AS T2 ON T1.dst_apid = T2.apid WHERE T2.country = "United States"