SQL server: Transpose Rows to Columns (n:m relationship)
After trying it myself for some hours now I need to ask for help. I only did some basic SQL until now. I want to solve the following: (I have translated a couple of things for you to understand the context) I have three tables: Workers (Mitarbeiter in German - mitID) | mitID | Name | FamName | DOB | abtIDref | |-------|--------|---------|------------|----------| | 1 | Frank | Sinatra | 12.12.1915 | 1 | | 2 | Robert | Downey | 4.4.1965 | 2 | INFO: abtIDref is an 1:n relation for the Workplace , but not involved here Skills (Faehigkeiten in German - faeID) | faeID | Descr | time | cost | |------