If 1 dog has a tail that is sticking up.
return dogs ;return tail of #1 ;return #1 where  #2 is sticking up ;return number of  #3 ;return if  #4 is equal to  one
['select', 'project', 'comparative', 'aggregate', 'boolean']