I have the following table:
TicketID Type Code
44899B82-41C9-4020-9C2B-007C6000D283 ARTI 22150012
44899B82-41C9-4020-9C2B-007C6000D283 ARTI 22150017
44899B82-41C9-4020-9C2B-007C6000D283 CASH NULL
76C6D696-55E7-4CA5-A1AA-0F0DB446D9A4 ARTI 22150018
76C6D696-55E7-4CA5-A1AA-0F0DB446D9A4 ARTI 22150012
76C6D696-55E7-4CA5-A1AA-0F0DB446D9A4 ARTI 22150011
76C6D696-55E7-4CA5-A1AA-0F0DB446D9A4 CASH NULL
And I want the following result:
TicketID Type Code
44899B82-41C9-4020-9C2B-007C6000D283 ARTI 22150012, 22150017
44899B82-41C9-4020-9C2B-007C6000D283 CASH NULL
76C6D696-55E7-4CA5-A1AA-0F0DB446D9A4 ARTI 22150018, 22150012, 22150011
76C6D696-55E7-4CA5-A1AA-0F0DB446D9A4 CASH NULL
How can I achieve that?