Suppose I have this table:
a b c
-----------
1 a d
2 a d
3 b d
4 b d
5 c e
6 c e
Is there a way that I could group by b and c and get a concatenated value for matching a's?
Like this:
a b c
-----------
1,2 a d
3,3 b d
5,6 c e
I can get one a by using GROUP BY:
SELECT MAX(a) AS a, b, c
FROM mytable
GROUP BY b, c
but that is not what I am looking for...