I'm trying to concatenate some creditcards data I have on my customers.
For example I'm having the next table (call it Table A):
custNum totAmount creditCardType
10 100 Visa
10 250 Mastercard
27 350 Visa
10 500 AmericanExpress
27 100 AmericanExpress
etc...
and I'm trying to concatenate this data in the next format:
custNum totAmount creditCardType
10 850 Visa,Mastercard,AmericanExpress
27 450 Visa,AmericanExpress
is there a smart and simple way of doing it?
Thank you in advance!