title: How to rotate table in Oracle?
body: <p>I need to rotate left table to right:</p>
  
  <p><img src="https://i.stack.imgur.com/4UboA.png" alt="enter image description here"></p>
  
  <p>And left table is very long, about 1000 lines. The problem is to name columns in the right table automatically.</p>
  
  <p>Thanks.</p>