I have two columns (both primary) [PLAYER_ID] [LEAUGE_ID]
something like this:
Player_id League_id
2139 8
2153 8
2302 10
2441 8
2441 10
2441 16
I am trying to find the same player who played only in leages 8 and 10, so although 2441 played for 16, we need to omit that.
According to the table above, I am trying to only find:
Player_id League_id_1 League_id_2
2441 8 10
Thanks in advance!
Try
Here is a fiddle