2

I'd like to get a list of orders per days. Sorted from most to least so that I can easily see on which days the most orders where placed.

A text report (SQL statement) is enough, I do not need a fancy report in the backend.

1 Answer 1

3

This statement can be used to retrieve a list of orders per day:

SELECT COUNT(*) as orders_per_day, date(created_at) as day
FROM sales_flat_order
GROUP BY date(created_at)
ORDER BY orders_per_day DESC
1
  • like same how to get overall order sales per day @Anna Völkl
    – zus
    Apr 16, 2019 at 6:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.