Table A
Column A Column B Column C Column D
1 AA A1 B1
2 BB A2 B2
3 CC A3 B3
4 DD A4 B4
Table - B
Column E Column F Column G Column H
1 AA A1 1234
2 BB A2 2345
3 EE A3 6767
4 FF A4 5555
Result Table [Joining on Column B and Column C with Column C and Column D that are not primary keys]
Column B Column C Column D Column H
AA A1 B1 1234
BB A2 B2 2345
CC A3 B3 NULL
DD A4 B4 NULL
EE A3 NULL 6767
FF A4 NULL 5555
我尝试使用完整的外部连接,但没有看到预期的结果。有任何想法吗?