title: SQL Unpivot Example
body: <p>Right now I have the following table and I want to unpivot it so my columns and rows are flipped like below - thank you!</p>
  
  <p>HAVE</p>
  
  <p><a href="https://i.stack.imgur.com/o3RB4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o3RB4.png" alt="current"></a></p>
  
  <p>WANT</p>
  
  <p><a href="https://i.stack.imgur.com/UDvmp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UDvmp.png" alt="want"></a></p>