Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Ace's avatar
Level 7

How to Group by Date Multiple left joins?

How can I create the following report with these models: How would I group by date in raw Mysql or in Eloquent? For example Date(created_at) | TotalRequests (Count(id)) | TotalOrders(Count(id))

0 likes
2 replies

Please or to participate in this conversation.