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
How many flights are arriving in Washington DC today? | Sorry, what is the date you meant by today? | I am sorry I meant on April/12/2005
assistant
SELECT COUNT( * ) FROM Flight WHERE destination = 'Washington D.C.' AND arrival_date LIKE '%04/12/2005%';
human
How many flights are arriving in Dallas?
assistant
SELECT COUNT( * ) FROM Flight WHERE destination = "Dallas" ;