Let\'s say I have columns a, b c, d in a table in a MySQL database. What I\'m trying to do is to select the distinct values of ALL of these 4 columns in my tabl
select
(SELECT group_concat(DISTINCT a) FROM my_table) as a,
(SELECT group_concat(DISTINCT b) FROM my_table) as b,
(SELECT group_concat(DISTINCT c) FROM my_table) as c,
(SELECT group_concat(DISTINCT d) FROM my_table) as d