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

What are the ids and names of the companies that operated more than one flight?
SELECT T1.id, T1.name FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id GROUP BY T1.id HAVING COUNT(*) > 1
SELECT "T1"."id", "T1"."name" FROM "operate_company" AS "T1" JOIN "flight" AS "t2" ON "T1"."id" = "T2"."company_id" GROUP BY "T1"."id" HAVING COUNT(*) > 1