ฉันสนใจจองเที่ยวบินเช้าตรู่จากดัลลาสไปฮูสตัน และกลับมาในช่วงเย็น ไม่จำเป็นที่จะต้องใช้โต๊ะทั้งหมด
i am interested in booking an early morning flight from DALLAS into HOUSTON and returning in the late eveningIt is not neccessary to use all the tables.
 month:  month_number [ int]  month_name [ text] 
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.departure_time <= 2200 AND flight.departure_time >= 2000) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'HOUSTON' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DALLAS' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) OR (((flight.departure_time <= 0 AND flight.departure_time >= 800) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'HOUSTON' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code)