I want to generate a series of numbers based on input values in fields in a table (check the image). I found a solution for this in Postgres but unfortunately, it seems that Redshift doesn't support the function generate_series(). I added some sample data and good to know is that the data set I am working with consists of large numbers (~15 digits). Can you see any alternative solutions for this?
Sample data: http://sqlfiddle.com/#!15/8af70/4