แสดงเที่ยวบินไปซานฟรานซิสโกที่มาถึงก่อน 100 น. ไม่จำเป็นต้องใช้ตารางทั้งหมด
show me flights to SAN FRANCISCO arriving before 100It is not neccessary to use all the tables.
 fare:  fare_id [ int]  from_airport [ varchar]  to_airport [ varchar]  fare_basis_code [ text]  fare_airline [ text]  restriction_code [ text]  one_direction_cost [ int]  round_trip_cost [ int]  round_trip_required [ varchar] 
SELECT DISTINCT flight.flight_id FROM airport_service, city, flight WHERE city.city_code = airport_service.city_code AND city.city_name = 'SAN FRANCISCO' AND flight.arrival_time < 100 AND flight.to_airport = airport_service.airport_code