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
What is the distance of the name Boeing 747-400? | did you mean the distance of the aircraft with the name Boeing 747-400? | yes
assistant
SELECT distance FROM Aircraft WHERE name = 'Boeing 747-400';
human
What is the distance of the aircraft with the name Boeing 737-800?
assistant
SELECT distance FROM Aircraft WHERE name = 'Boeing 737-800';
human
What is the name of the aircraft with distance 7120?
assistant
SELECT name FROM Aircraft WHERE distance = 7120 ;