I'm using SQL server but am new to the idea of pivoting. I've seen examples online but am struggling with how to transfer existing columns into the new table.
My original table is as follows;
and I would like this to be transposed to the following format, taking averages of the values where available;
can anybody please advise how I can do this?
Thanks