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!

add previous numer with current numebr

152933Dec 18 2009 — edited Dec 19 2009
Hi All,

i want to add previous numer with current numebr ,that total numer with current number and so on

ex:

first 0+1=1
1+1=2
2+1=3
3+2=5
5+3=8..

to be generated upto 21 .Please help on this

0 1 1 2 3 5 8 13 21

Regards,
MR

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 16 2010
Added on Dec 18 2009
10 comments
1,620 views