Column must be either aggregated, or mentioned in GROUP BY clause code example
Example: postgresql must appear in the group by clause or be used in an aggregate function
Try using "DISTINCT" instead of "GROUP BY"
Try using "DISTINCT" instead of "GROUP BY"