Input
id, date, value
1, '2020-01-01', 100
1, '2020-01-03', 200
1, '2020-01-05', 500
Output expected
1, '2020-01-01', 100
1, '2020-01-02', 100
1, '2020-01-03', 200
1, '2020-01-04', 200
1, '2020-01-05', 500
I do not want to use any calendar table joined along with this. I want to achieve this with Recursive CTE
Sample data
Solution
Result
Fiddle