Task: Text to Code
Input (English): Step 1: find the company_id of flight table.
Step 2: find the name, Type of operate_company table whose operate_company's id one of the results of step 1
Output (English): SELECT T1.name , T1.Type FROM operate_company AS T1 WHERE T1.id IN ( SELECT T2.company_id FROM flight AS T2 )