i have TableA like this below. . .
Code:
TableA QueryA
ID Code X Y CodeX CodeY
1 H3 23 78 Q1 H7
2 H3 81 19 H3 Q1
3 H3 118 4
4 H7 42 26
5 H7 108 1
6 H7 99 125
7 L2 18 21
8 L2 9 38
9 L2 34 88
10 Q1 26 23
11 Q1 1 81
12 Q1 125 118
...continues
I need to write QueryA that identifies matching triplets in column X and column Y.
the triplet (26,1,25) in column x has a match in column Y, so QueryA should have row Q1, H7.
also (23, 81, 118) has a match, so QueryA has another record, H3 Q1.
Help writing this query is requested please,
Thank you