Hi My problem is that I have to list out all the unrequited relationships (A likes B but B didn't like A)
A B
1 2
2 1
3 1
In this example my solution would be the pair of 3 1 (becoz 1 likes 2 and 2 also like 1 backs) How should I express it in form of SQL?