I'm working on query to take the values from table
Id  QuestionNo  Response StartTime  EndTime
101 1           2        2015-04-21 2015-04-21
101 2           1        2015-04-21 2015-04-21
101 3           4        2015-04-21 2015-04-21
104 1           3        2015-04-21 2015-04-21
104 2           5        2015-04-21 2015-04-21
104 3           2        2015-04-21 2015-04-21
and I want to have the result like this
Id  Response          Response         Response         StartTime  EndTime
for QuestionNo=1  for QuestionNo=2 for QuestionNo=3 
101        2                1              4            2015-04-21 2015-04-21
104        3                5              2            2015-04-21 2015-04-21
I've tried some queries and with pivot, but it is to complex for me.Can anyone help me with this? Many thanks is advance.
