title: convert row data into column in oracle
body: <p>I have a table <code>mapping</code> which has column <code>code</code> and values as shown below.</p>
  
  <pre><code>A
  B
  C
  D
  </code></pre>
  
  <p>i want to convert this row level data into columns like</p>
  
  <p><code>column1  column2  column3  column4</code></p>
  
  <p><code>A        B        C        D</code></p>
  
  <p>Can any one please help here.</p>
  
  <p>Also i don't want to hard code my table data in the query as data might be different every day.</p>