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.

Reverse of group by...

NapsterDec 6 2010 — edited Dec 7 2010
Hi Guys...

I have the following output...

Select code, qty from Mytable;
code  qty
A     1
B     2
C     1
But I am looking for a output like below...
code  qty
A     1
B     1
B     1
C     1
Kind of reverse of group by...

Thanks...

Comments

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

Post Details

Locked on Jan 4 2011
Added on Dec 6 2010
9 comments
3,095 views