Hi Team,
Please help!!
Scenario: I have two table (Table1 and Table2) as below.
Table1:
ID Name
2 John
3 Tom
5 Kevin
Table2:
ID1 Code
1 AA
4 BB
I need a result with all the Table1 data and one more column of Code where ID.Table1 is less than ID1.Table2
Expected results:
ID Name Code
2 John AA
3 Tom AA
5 Kevin BB
Thanks in advance.
VJ
Please help!!
Scenario: I have two table (Table1 and Table2) as below.
Table1:
ID Name
2 John
3 Tom
5 Kevin
Table2:
ID1 Code
1 AA
4 BB
I need a result with all the Table1 data and one more column of Code where ID.Table1 is less than ID1.Table2
Expected results:
ID Name Code
2 John AA
3 Tom AA
5 Kevin BB
Thanks in advance.
VJ