次のようなテーブル結果をピボットしようとしています.....
-----------------------------------------------
| personsID | personsWeight | dateWeighed |
-----------------------------------------------
| 1 | 160 | 04/15/2011 |
-----------------------------------------------
| 1 | 161 | 04/18/2011 |
-----------------------------------------------
| 1 | 162 | 06/30/2011 |
-----------------------------------------------
| 1 | 163 | 07/11/2011 |
-----------------------------------------------
| 1 | 164 | 04/01/2012 |
-----------------------------------------------
のようにしたい
--------------------------------------------------------------------------------
| personsID | 04/15/2011 | 04/18/2011 | 06/30/2011 | 07/11/2011 | 04/01/2012 |
--------------------------------------------------------------------------------
| 1 | 160 | 161 | 162 | 163 | 164 |
--------------------------------------------------------------------------------