Say I have columns a, bc, d in a table in a MySQL database. What I'm trying to do is select the different values ββof ALL from the 4 columns in my table (only individual values). I tried things like:
SELECT DISTINCT a,b,c,d FROM my_table; SELECT DISTINCT a,b,c,d FROM my_table GROUP BY a,b,c,d;
None of them worked. Can anyone help here?
thank
NOTE I want to highlight columns a, b, cd separately. Fuzzy combination of values
sql mysql distinct
user765368 Aug 29 '12 at 23:43 on 2012-08-29 23:43
source share