I have two tables (Table A and Table B) which I want to join on multiple columns in both tables.
Table A
Col1 Col2
================
A11 A21
A22 A22
A33 A23
Table B
Col1 Col2 Val
=================
B11 B21 1
B12 B22 2
B13 B23 3
I want both Columns in Table A to join on either of Col1 and Col2 in Table B to get Val.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…