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!

insert acumulative

563850May 26 2010 — edited May 26 2010
Hi all,
Need help for simple question,


select * from test;
1 | 2
1 | 3
1 | 4
I need create table with acumulative results, for example.
create test2 from test

1 | 2
1 | 2+3
1 | 3+4

create test3 from test2

1 | 2
1 | 5+2
1 | 7+5

how can create an insert sql for increment acumulative results in test table?

Regards.
This post has been answered by Toon Koppelaars on May 26 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 23 2010
Added on May 26 2010
6 comments
888 views