how do you summarize the dates?

Use group by!

select date, sum(qty) sum_qty
from mytable
group by date
order by date

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top