I have 3 tables
Table A
Account Id Account Name
1 Account1
2 Account2
3 Account3
Table B
Opp ID Partner Account ID
O11 1
O11 2
Table C
Opp Id Pstring
O11
O12
I want to update Table C Pstring with account name, if there 2 account ids for same oppID then they should be appended with a semicolon between them and updated in Pstring
For example
- For Opp Id O11, Pstring should have
Account1;Account2
How can I achieve this? Any pointer would be of great help.