I did not find any suitable previous answers hence posting the question. I need to convert rows to columns. The PIVOT examples all convert the rows to a single column whereas m
If the 'ID' column is the primarykey you can only have one column as primarykey in the table.