ฉันต้องการให้เที่ยวบินต่อเครื่องจากดัลลาสไปซานฟรานซิสโกออกเดินทางหลัง 4.00 น. ไม่จำเป็นต้องใช้โต๊ะทั้งหมด
i would like a connecting flight from DALLAS to SAN FRANCISCO leaving after 400 o'clockIt is not neccessary to use all the tables.
 fare_basis:  fare_basis_code [ text]  booking_class [ text]  class_type [ text]  premium [ text]  economy [ text]  discounted [ text]  night [ text]  season [ text]  basis_days [ text] 
SELECT DISTINCT flight_id FROM flight WHERE (((departure_time > 400 AND to_airport IN (SELECT AIRPORT_SERVICEalias1.airport_code FROM airport_service AS AIRPORT_SERVICEalias1 WHERE AIRPORT_SERVICEalias1.city_code IN (SELECT CITYalias1.city_code FROM city AS CITYalias1 WHERE CITYalias1.city_name = 'SAN FRANCISCO'))) AND from_airport IN (SELECT AIRPORT_SERVICEalias0.airport_code FROM airport_service AS AIRPORT_SERVICEalias0 WHERE AIRPORT_SERVICEalias0.city_code IN (SELECT CITYalias0.city_code FROM city AS CITYalias0 WHERE CITYalias0.city_name = 'DALLAS'))) AND connections > 0)