¿Has probado algo como
SELECT *
FROM (
SELECT ID,
Question,
Answer
FROM @Table1
) t
PIVOT (MAX(Answer) FOR Question IN ([Any Good?],[Happy?],[Good Staff?],[Return?])) p
¿Has probado algo como
SELECT *
FROM (
SELECT ID,
Question,
Answer
FROM @Table1
) t
PIVOT (MAX(Answer) FOR Question IN ([Any Good?],[Happy?],[Good Staff?],[Return?])) p