The objective is that the source table that has two columns, group by column 1 and that a new column indicate separated by commas what column 1 has in column 2 (of origin).
columna 1 - 1 1 2 2 3 3 4 4 columna 2 - a b c a d a f g
and in a new column or table 1 - a b / 2 - b