Hi folks,
I have a table example:
Date Team Score
200801 A 12
200801 B 14
200802 A 3
200803 C 5
200803 A 5
Date and team are not hardcoded, next week team D could be added etc.
I'd like to convert (pivot?) to
Date A B C
200801 12 14
200802 3
200803 5 5
is there a simple approach to this?
any help appreciated. Sorry don't know what this type of conversion is called.
thanks.
I have a table example:
Date Team Score
200801 A 12
200801 B 14
200802 A 3
200803 C 5
200803 A 5
Date and team are not hardcoded, next week team D could be added etc.
I'd like to convert (pivot?) to
Date A B C
200801 12 14
200802 3
200803 5 5
is there a simple approach to this?
any help appreciated. Sorry don't know what this type of conversion is called.
thanks.
Comment