If at least one boat has three sails up.
return boats ;return sails of  #1 ;return #2 that are  up ;return number of #3 for each #1 ;return #1 where #4 is  equal to three ;return number of #5 ;return if  #6 is  at least one
['select', 'project', 'filter', 'group', 'comparative', 'aggregate', 'boolean']