Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

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,476 views