Answer the question
In order to leave comments, you need to log in
How to get ordered statistics?
SELECT distinct(o.delivery_date), sum(ob.price) FROM orders as o
JOIN orders_bills as ob
ON o.id = ob.order_id
WHERE o.delivery_date BETWEEN '2022-03-11' AND '2022-03-21'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question