Question : how to convert oracle rows into columnscolumns

I have a table that has data structured similarly to following:

ID  FIELD_NAME      FIELD_VALUE
1   FIRST_NAME     Martha
1   LAST_NAME     Jones
1   DEPT                 Sales
1   LOCATION        Dallas
2   FIRST_NAME     Tim
2   LAST_NAME     Peters
2   DEPT                 Finance
2   LOCATION        San Diego

I would like to report the data as follows:
ID  FIRST_NAME  LAST_NAME  DEPT             LOCATION
1  Martha             Jones              Sales           Dallas
2  Tim                   Peters            Finance         Sasn Diego

I am aware of the concept of pivot tables but do not know how to implement for this case or if other alternatives exist to get the same result.

Any help greatly appreciated.

Answer : how to convert oracle rows into columnscolumns

ACT! 2010 doesn't support Excel 2010 yet... ACT! 2011 (due next month) definitely will
Random Solutions  
 
programming4us programming4us