As the title says, I need a method of flattening multiple rows into a one luine output per account. For example table looks like this:
Account Transaction
12345678 ABC
12345678 DEF
12346578 GHI
67891011 ABC
67891011 JKL
I need the output to be:
12345678|ABC|DEF|GHI
67891011|ABC|JKL
The amount of transactions is unknown. For some accounts it could be 1 or 2, all the way up to 100's.