I have a question around turning multiple rows (with multiple columns) into a single row with columns.
e.g.
Col1 Col2 Col3
1 type1 123
1 type2 456
Output should be:
Col1 Col2 Col3 Col4 Col5
1 type1 123 type2 456
I have tried looking into SQL Server recursive and Pivot but not sure which would be the correct way to proceed.
Another requirement would be to keep it as dynamic as possible.