Task: Text to Code
Input (English): SQL: SELECT name FROM aircraft GROUP BY name HAVING Count ( * ) > = 2
Feedback: Replace distance with airline id in step 1 , aircraft table with flight table in step 1.
Output (English): SELECT T2.name FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid  =  T2.aid GROUP BY T1.aid HAVING count(*)  >= 2