I have a table order having orderdate and quantity as columns. I want to add a column "day bucket" in my output and cumulative frequency for each bucket. Below is the