For example.
My Table gives following records.
Service | SubService | Addresss |
---|
1 | 1_AAA | ASD |
1 | 1_BBB | RTY |
2 | 2_RRR | TYT |
2 | 2_YYY | GHN |
For each main service I want both the SubService and Address on the same row.
Output expected
Service | Subservice1 | Address1 | SubService2 | Address2 |
---|
1 | 1_AAA | ASD | 1_BBB | RTY |
2 | 1_BBB | TYT | 2_YYY | GHN |
Please help