i'd like to take a flight from washington dc stop in denver and with my final destination as san francisco 
return flights ;return #1 from  washington dc ;return #2 to denver ;return #1 from  denver ;return #4 to san francisco ;return #3 , #5
['select', 'filter', 'filter', 'filter', 'filter', 'union']