Task: Text to Code
Input (English): Step 1: For each row in airport table, find the corresponding rows in flight table.
Step 2: find Pilot of the results of step 1 whose airport's name equals Cargo.
Step 3: For each row in flight table, find corresponding rows in airport table and in operate_company table.
Step 4: find operate_company's name of the results of step 3 whose airport's name equals Catering services.
Step 5: show the rows that are in both the results of step 2 and the results of step 4
Output (English): SELECT T2.Pilot FROM airport AS T1 JOIN flight AS T2 ON T1.id = T2.airport_id WHERE T1.name = "Cargo" INTERSECT SELECT T3.name FROM airport AS T1 JOIN operate_company AS T3 JOIN flight AS T2 ON T1.id = T2.airport_id AND T2.company_id = T3.id WHERE T1.name = "Catering services"