aggregate function in group by clause.
aggregate functions can't used by groupby clause.
in option D, " select groupby " means
you have grouped by some attribute ===> select statement should have the attributes used by groupby clause
and along with that it may have aggregate functions.