รายชื่อเที่ยวบินที่มาถึงแอตแลนต้าจากบอสตันระหว่างเวลา 16.00 ถึง 2000 ไม่จำเป็นต้องใช้ตารางทั้งหมด
list the flights arriving in ATLANTA from BOSTON between 1600 and 2000It is not neccessary to use all the tables.
 time_zone:  time_zone_code [ text]  time_zone_name [ text]  hours_from_gmt [ int] 
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE ((flight.arrival_time <= 2000 AND flight.arrival_time >= 1600) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code