is there a delta flight from boston to san francisco that stops in denver 
return flights ;return #1 on delta ;return #2 from  boston ;return #3 to san francisco ;return #4 that stop in  denver ;return number of  #5 ;return if #6 is at least one
['select', 'filter', 'filter', 'filter', 'filter', 'aggregate', 'boolean']