Here is an example query I am doing. It produces 1,A,1,A,3,B,2,B,4,C,4,C.
SELECT GROUP_CONCAT(CONCAT(ID, ','), Value ORDER BY Value) FROM TableName
Here's a SQL Fiddle Demo.
I want to call DISTINCT on the column Value so that it will output 1,A,2,B,4,C instead.
Is this possible? Everything I try gives me an error.