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
Show the departure date and arrival date for all flights.
assistant
SELECT departure_date , arrival_date FROM Flight;
human
How about those from Los Angeles?
assistant
SELECT departure_date , arrival_date FROM Flight WHERE origin = 'Los Angeles';
human
From these results, only show those flying to Honolulu.
assistant
SELECT departure_date , arrival_date FROM Flight WHERE origin = "Los Angeles" AND destination = "Honolulu" ;