Find the average and oldest age for students with different sex.
return students ;return #1 with  different sex ;return age of  #2 ;return oldest #3 ;return average of  #3 ;return #4 ,   #5
['select', 'filter', 'project', 'project', 'aggregate', 'union']