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.

question on reverse

user1014019Nov 11 2019 — edited Nov 12 2019

Hi Team,

I have a question on below query.

ID     QID       QNAME

1       12          SEETA

2       13           GEETA

3       14           RAJ

4       15           UMBER

5       16           MEERA

6       17           SMRITI

I wanted the output as shown below

QID     QNAME

21        MEERA

31        SMRITI

41        SEETA

51        GEETA

61        RAJ

71        UMBER

We will use reverse function to reverse the QID Values but need help on how will we interchange QNAME values.

Appreciate your help.

Comments

Post Details

Added on Nov 11 2019
14 comments
569 views