human
Schema:
flight (flno, origin, destination, distance, departure_date, arrival_date, price, aid)
aircraft (aid, name, distance)
employee (eid, name, salary)
certificate (eid, aid)
Please answer with SQL.
assistant
Sure, I understand.
human
Can you show me the origins, the destinations and the flight numbers?
assistant
SELECT origin , destination , flno FROM Flight GROUP BY destination;
human
Hmm, I want to know just the destinations and the flight numbers please.
assistant
SELECT destination , flno FROM Flight GROUP BY destination ;