HAVING exercise

In HAVING clause exercise, after aggregate SUM cannot execute the result