CREATE TABLE airport (id NUMBER, city CLOB, country CLOB, iata CLOB, icao CLOB, name CLOB)
CREATE TABLE flight (id NUMBER, vehicle_flight_number CLOB, date CLOB, pilot CLOB, velocity NUMBER, altitude NUMBER, airport_id NUMBER, company_id NUMBER)
CREATE TABLE operate_company (id NUMBER, name CLOB, type CLOB, principal_activities CLOB, incorporated_in CLOB, group_equity_shareholding NUMBER)

What are the names and types of the companies that have ever operated a flight?
SELECT T1.name, T1.type FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id
SELECT "T1"."name", "T1"."type" FROM "operate_company" "T1" JOIN "flight" "t2" ON "T1"."id" = "T2"."company_id"