I am seeking a solution where I can compare the fields code1 & code 2 which belong to same table and if it matches then the output should be both the keys.
For eg. in the below screenshot, since 111 matches in code1 & code2, It should display "A01" and "B02".