Fundamental SQL using FUNCTION and GROUP BY

By