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!

avg problem

542673Aug 9 2007 — edited Aug 9 2007
Hi,

My table description : x_dummy

Name Null? Type
----------------------------------------------------- -------- -------------
SN1 NUMBER(22,5)
SN2 NUMBER(22,5)
SN3 NUMBER(22,5)
SN4 NUMBER(22,5)
SN5 NUMBER(22,5)


My table data : x_dummy

SN1 SN2 SN3 SN4 SN5
---------- ---------- ---------- ---------- ----------
1    2 3 4
2 3 4
3 4
4


My requirement is to get avg of four columns sn1,sn2,sn3,sn4 into the sn5 column.
sn5 column is null for all rows.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 6 2007
Added on Aug 9 2007
8 comments
801 views