I am a new oracle developer and I have no clue how to do it: so I need to create a query in oracle that reduce the amount of my returned data what I have is 2 records for the same purpose
In the first record I have
id1 = A and id2 = B
and in the second I have
id1 = B and id2 = A
So I need a query that return just one record for each 2 records saved in the database have this combination.
I tried to do inner select or try to read from the same table twice and filter the results but with no success.