GroupingError: ERROR: column must appear in the GROUP BY clause or be used in an aggregate function GroupingError: ERROR: column must appear in the GROUP BY clause or be used in an aggregate function sqlite sqlite