title: make multiple rows one row with additional columns
body: <p>I have a table that looks like </p>
  
  <pre><code>Customer_id     Order_id   Action    Time_Stamp
  abc             123         placed     8/1/2012 10:00AM
  abc             123         processed  8/1/2012 10:30AM
  abc             123         shipped    8/1/2012 11:00AM
  
  xyz             456         recieved   8/1/12 12:00PM 
  </code></pre>
  
  <p>what i am trying to get is</p>
  
  <pre><code>Customer ID     Order_id   Placed             Processed           Shipped            recieved
  abc              123       8/1/2012 10:00Am    8/1/2012 10:30AM   8/1/2012 11:00AM   null
  xyz              456       null                null               null               8/1/2012 12:00PM
  </code></pre>
  
  <p>i know the max number of columns i would need (the number of actions in other words) if that makes the query easier. </p>
  
  <p>any help is much appreciated.</p>