When the 'SELECT' clause of the SQL has the aggregate function, it is must to have this clause to prevent error
WHERE
ORDER BY
GROUP BY
Aggregate Function