Hello,
I am trying to establish a link between 2 tables wherein one record from table 1 should be split in to multiple records in table 2 with same ID. Say for example, we have record ID as 1 and columns A, B, C, D, E in table 1 and column C has 3 values separated by a comma, I want these 3 records be split and populated as 3 individual records in table 2. ID column in table 2 is unique however. So, I will create a column named Req. ID as below. Basically there should be a relation between ID column from table 1 and Req. ID in table 2.
Table 1:
ID A B C D E
1 John, Mary, Chris
2
3
Table 2:
ID Req. ID A
1 1 John
2 1 Mary
3 1 Chris
Kindly help me how to achieve this.
Thanks!