I have two data tables Dt_S1 and Dt_S2, both have a common column. Using Join Data Tables Activity I tried to join the tables. But result is unexpected result.
I have given the tables below, the Result of the Join Data Table Activity is Dt_Result. In this Dt_Result table two new row were added and this is not expected.
Can someone help me out if I’m making any mistake in the activity, attached screenshot of join data Table activity Properties
| Dt_S1 | |
|---|---|
| ProductID | Price |
| 123 | 10 |
| 456 | 11 |
| 123 | 12 |
| Dt_S2 | |
|---|---|
| ProductID | ProductName |
| 123 | pen |
| 456 | pencil |
| 123 | pen |
When I used Left Join result is
| Dt_Result | |||
|---|---|---|---|
| ProductID | Price | ProductID_1 | ProductName |
| 123 | 10 | 123 | pen |
| 123 | 12 | 123 | pen |
| 456 | 11 | 456 | pencil |
| 123 | 10 | 123 | pen |
| 123 | 12 | 123 | pen |
but Expected Result is
| Expected Result | |||
|---|---|---|---|
| ProductID | Price | ProductID_1 | ProductName |
| 123 | 10 | 123 | pen |
| 456 | 11 | 456 | pencil |
| 123 | 12 | 123 | pen |
