List the name of physicians who took some appointment.
return physicians ;return appointments of #1 ;return number of  #2 for each #1 ;return #1 where #3 is higher than zero ;return names of #4
['select', 'project', 'group', 'comparative', 'project']