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.

Distinct combination of Data

NavneetUMar 15 2010 — edited Mar 15 2010
Hi All,

I just want a little help from you.

I am having a table
SQL> select * from test;

        ID          A          B
---------- ---------- ----------
         1          1          2
         2          2          1
         3          1          3
         4          3          2
i want a query that should retrieve me the following records..
SQL> select * from test;

        ID          A          B
---------- ---------- ----------
         1          1          2
         3          1          3
         4          3          2
Can you please help me to get this done?

Regards
This post has been answered by ravikumar.sv on Mar 15 2010
Jump to Answer

Comments

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

Post Details

Locked on Apr 12 2010
Added on Mar 15 2010
13 comments
1,451 views