เที่ยวบินใดที่บินจากเดนเวอร์ไปซานฟรานซิสโกในวันจันทร์ อังคาร พุธ พฤหัสบดี และศุกร์ นี้ ไม่จำเป็นที่จะต้องใช้ตารางทั้งหมด
what flights fly from DENVER to SAN FRANCISCO on this monday tuesday wednesday thursday and fridayIt is not neccessary to use all the tables.
 time_interval:  period [ text]  begin_time [ int]  end_time [ 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, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, date_day AS DATE_DAY_2, date_day AS DATE_DAY_3, date_day AS DATE_DAY_4, days AS DAYS_0, days AS DAYS_1, days AS DAYS_2, days AS DAYS_3, days AS DAYS_4, flight WHERE (((((DATE_DAY_3.day_number = 21 AND DATE_DAY_3.month_number = 2 AND DATE_DAY_3.year = 1991 AND DATE_DAY_4.day_number = 21 AND DATE_DAY_4.month_number = 2 AND DATE_DAY_4.year = 1991 AND DAYS_3.day_name = DATE_DAY_3.day_name AND DAYS_4.day_name = DATE_DAY_4.day_name AND flight.flight_days = DAYS_3.days_code AND flight.flight_days = DAYS_4.days_code) AND DATE_DAY_2.day_number = 21 AND DATE_DAY_2.month_number = 2 AND DATE_DAY_2.year = 1991 AND DAYS_2.day_name = DATE_DAY_2.day_name AND flight.flight_days = DAYS_2.days_code) AND DATE_DAY_1.day_number = 21 AND DATE_DAY_1.month_number = 2 AND DATE_DAY_1.year = 1991 AND DAYS_1.day_name = DATE_DAY_1.day_name AND flight.flight_days = DAYS_1.days_code) AND DATE_DAY_0.day_number = 21 AND DATE_DAY_0.month_number = 2 AND DATE_DAY_0.year = 1991 AND DAYS_0.day_name = DATE_DAY_0.day_name AND flight.flight_days = DAYS_0.days_code) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code