title: Teradata Convert Rows to Columns (PIVOT)
body: <p>I have a table like</p>
  
  <p><img src="https://i.stack.imgur.com/UjTiv.png" alt="Table1 Image"></p>
  
  <p>and </p>
  
  <p>i want that table to be converted to</p>
  
  <p><img src="https://i.stack.imgur.com/PqO11.png" alt="Table2 Image"></p>
  
  <p>Using <strong>TeraData</strong> Query</p>