Task: Text to Code
Input (English): SQL: SELECT T1.Airline FROM airlines AS T1 JOIN airports AS T2 WHERE T2.AirportName = "AHD"
Feedback: in step 1, you need to use table of flights and in step 2 you need to use source airport.
Output (English): SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid  =  T2.Airline WHERE T2.SourceAirport  =  "AHD"