Hi all - I need to do what I refer to as de-pivoting, or also may be called "de-normalizing".
Here is a sample set of records...
Customer Month Count
1 1 120
1 2 230
1 3 89
2 1 102
2 2 702
2 3 345
...
I need to be able to query this and get one row per Customer, with values for each of the months.
Can I do this without a complex PL/SQL procedure?
Desired Results:
Customer Month1 Month2 Month3 ...
1 120 230 89
2 102 702 345
Thanks very much.
Customer
=================================
Thomas V. Flaherty Jr.
Birch Hill Technology Group, Inc.
Here is a sample set of records...
Customer Month Count
1 1 120
1 2 230
1 3 89
2 1 102
2 2 702
2 3 345
...
I need to be able to query this and get one row per Customer, with values for each of the months.
Can I do this without a complex PL/SQL procedure?
Desired Results:
Customer Month1 Month2 Month3 ...
1 120 230 89
2 102 702 345
Thanks very much.
Customer
=================================
Thomas V. Flaherty Jr.
Birch Hill Technology Group, Inc.