© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
14 replies
hello_world

Getting Error in Query Builder in Table Widget

https://gist.github.com/abhi051002/cdbee5da66029f4ada377f3df40cceaa
when i use a query in table widget it gives me the error " SQLSTATE[42803]: Grouping error: 7 ERROR: column "payments.id" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: ...ONTH FROM transaction_date) order by "month" asc, "payments"... ^" but when i use the same query any where and dd/info the result it works well why it is not working on query builder and give the erro and i know if i add the payments.id then it will work well but i want result without including it.
Gist
Getting the error "SQLSTATE[42803]: Grouping error: 7 ERROR: column...
Getting the error "SQLSTATE[42803]: Grouping error: 7 ERROR: column "payments.id" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: ...ONTH F...
Getting the error "SQLSTATE[42803]: Grouping error: 7 ERROR: column...
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Getting error in query of Table widget
FilamentFFilament / ❓┊help
3y ago
Getting error in query of Table widget
FilamentFFilament / ❓┊help
3y ago
Error table query for table widget
FilamentFFilament / ❓┊help
3y ago
Widget table custom query
FilamentFFilament / ❓┊help
2y ago