title: DB2 SQL CROSSTAB
body: <p>I would like to output a table, transformed to a crosstab with a Select statement. How could I do this with DB2 SQL?</p>
  
  <pre><code>ROW       | Columns  | VALUES             _________________________________
  _____________________________     --&gt;            Column1 | Column2  | Column3   
  1         | 1        | 12                 _________________________________
  1         | 2        | 25                 Row 1|     12  |     25  |     11
  1         | 3        | 11                 Row 2|     30  |      5  |     15
  2         | 1        | 30
  2         | 2        | 5
  2         | 3        | 15
  </code></pre>