What is the average sales of the journals that have an editor whose work type is 'Photo'?
return editors ;return #1 whose work type is  'Photo ;return the  journals of  #2 ;return sales of  #3 ;return the  average of  #4
['select', 'filter', 'project', 'project', 'aggregate']