Error: Column <name> must appear in the GROUP BY clause or be used in an aggregate function

Follow