I have a dates CTE in my below query where I am using limit clause which I don\'t want to use it. I am trying to understand on how to rewrite my
dates
limit