Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Query for linear interpolation

HugoOct 6 2015 — edited Oct 6 2015


Hi,

I have a table with a weekly snapshot cummulative value like that:

     date                      value

2015-10-011
2015-10-088
2015-10-1522

I'd like to make a query that will return data for every single date value in the interval:

     date               value               rem

2015-10-011
2015-10-022interpolated
2015-10-033interpolated
2015-10-044interpolated
2015-10-055interpolated
2015-10-066interpolated
2015-10-077interpolated
2015-10-088
2015-10-0910interpolated
2015-10-1012interpolated
2015-10-1114interpolated
2015-10-1216interpolated
2015-10-1318interpolated
2015-10-1420interpolated
2015-10-1522

I made some search here and on the net but i don't have find an easy way to do this.

Can you give me a hints or piece of code to use?

Thanks

Hugo

This post has been answered by odie_63 on Oct 6 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 3 2015
Added on Oct 6 2015
5 comments
1,513 views