display the average salary of employees for each department who gets a commission percentage.
return departments ;return #1 that  get a commission percentage ;return employees of #2 ;return salaries of #3 ;return average of #4 for each #2
['select', 'filter', 'project', 'project', 'group']