Postgresql Grouping Error
I got this error when i was executing this query on PostgreSQL: SQLSTATE[42803]: Grouping error: 7 ERROR: column 'posts.title' must appear in the GROUP BY clause or be used in an
Solution 1:
The problem is, that in PostgreSQL you need to add all the columns you want to have in your select to your group by.
so your statement should be like
SELECT*FROMtableGROUPBY column1, column2...
Post a Comment for "Postgresql Grouping Error"