Answers for "PG::GroupingError: ERROR: column "users.id" must appear in the GROUP BY clause or be used in an aggregate function"

SQL
1

postgresql must appear in the group by clause or be used in an aggregate function

Try using "DISTINCT" instead of "GROUP BY"
Posted by: Guest on January-27-2021

Code answers related to "PG::GroupingError: ERROR: column "users.id" must appear in the GROUP BY clause or be used in an aggregate function"

Code answers related to "SQL"

Browse Popular Code Answers by Language