Task: Text to Code
Input (English): What are the names and types of the companies that have ever operated a flight?
Output (English): SELECT T1.name ,  T1.type FROM operate_company AS T1 JOIN flight AS t2 ON T1.id  =  T2.company_id