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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

query output

451557Dec 21 2005 — edited Dec 21 2005
Hi,

I have one table as follows:
seq_no item cost
001 itm1 101.00
002 itm2 102.00
003 itm3 103.00
004 itm4 104.00

and I need to show output like this
seq_no item cost
001 itm1 110.00
002 itm2
003 itm3
004 itm4

I mean sum of the cost of all the item should be shown against first item.

Can anyone help me in this regard.

Thanks,
Ravi

Comments

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

Post Details

Locked on Jan 18 2006
Added on Dec 21 2005
2 comments
2,529 views