-5

I have following table:

enter image description here

and I want:

enter image description here

It is not about pivot table. I want a select query to get the desired query.

I want to make view from the query result.

Please help me.

1 Answers1

0

Solution for your problem is to use PIVOT

Try to look at this: Convert Rows to columns using 'Pivot' in SQL Server

Community
  • 1
  • 1
japzdivino
  • 1,736
  • 3
  • 17
  • 25