title: Convert rows to column postgreSQL
body: <p>I got the following table</p>
  
  <pre><code>SHOPPER_TYPE | total_online_shopper | total_online_spent | total_online_visits | total_online_units | total_online_discout
  -------------+----------------------+--------------------+---------------------+--------------------+---------------------
  CM           |                   11 |                 22 |                  44 |                 55 |                  443
  NM           |                   66 |                667 |                  22 |                 33 |                  448
  </code></pre>
  
  <p>I want to get the following result</p>
  
  <pre><code>Measures               |  CM |  NM
  -----------------------+-----+----
  total_online_shopper   |  11 |  66
  total_online_spent     |  22 | 667
  total_online_visits    |  44 |  22
  total_online_units     |  55 |  33
  total_online_discout   | 443 | 448
  </code></pre>
  
  <p>As I mention in the title I use PostgrSQL on pgadmin 9.3
  Thanks a lot for any help.</p>