私は次のようなOracleテーブルを持っています:
ID---Date------------Type
1 | 01/01/2013 | Install Date
1 | 05/01/2013 | Complete Date
1 | 10/01/2013 | Closed Date
2 | 02/01/2013 | Install Date
2 | 03/02/2013 | Closed Date
3 | 10/01/2013 | Install Date
3 | 13/01/2013 | Closed Date
4 | 07/01/2013 | Install Date
4 | 09/01/2013 | Complete Date
4 | 17/01/2013 | Closed Date
私が達成したいのは、これをクエリして次のような結果を取得することです。
ID--InstallDate--CompleteDate--ClosedDate------
1 | 01/01/2013 | 05/01/2013 | 10/01/2013
2 | 02/01/2013 | --null-----| 03/02/2013
3 | 10/01/2013 | --null-----| 13/01/2013
4 | 07/01/2013 | 09/01/2013 | 17/01/2013