Skip to content
Advertisement

Generate a last 7 days weekly report in Mysql

I want to get a report of my eco_orders table that how much order i get in a day for last 7days. I got the result with below sql and it’s absolutely fine. but the problem is I want to include the non order day count with zero

JavaScript
JavaScript

Advertisement

Answer

You can try this option –

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement