I would like to bring in column C from table 2 if columns A and B in table 1 the row of table 2 that match columns A and B.
Table 1
Column A Column B
ABC123 XX470000
Table 2
Column A Column B Column C
ABC123,EFG123 XX470000,XX560000 Winner
Query:
Select * From
(
Select * From Table 1
) T1.
(
Select * From Table 2
) T2.
where T1.ColumnA in s2.ColumnA
and T1.ColumnB in s2.ColumnB
;
I have tried "like", "in" and "=" statements to match up the different tables. There are also thousands of rows where I would need this.